-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multithreaded_compute test #157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Functionality wise, this is precisely what I asked for.
In terms of implementation, it would be nice to avoid extra dependencies and macro boiler plate if possible.
Had to reduce the thread count to 8. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you!
bors r+
157: Add multithreaded_compute test r=kvark a=rukai As requested in #152 I have opened a PR to add the repro as a test case. I used [rusty fork](https://github.com/AltSysrq/rusty-fork) to allow setting a timeout. Rusty fork also runs each test in a separate process. Open to any suggestions on how to organize tests etc. I could add #156 if you want? Maybe name the tests by issue number? If we add a test for every issue, breaking changes would become really annoying :/ Co-authored-by: Rukai <rubickent@gmail.com>
Build succeeded |
157: Handle resizing in hello-triangle r=kvark a=quadrupleslap Nothing gets drawn on my computer unless the swap chain is resized along with the window. ``` $ uname -a Linux red 5.3.7-arch1-1-ARCH gfx-rs#1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64 GNU/Linux $ wmctrl -m Name: bspwm Class: wm PID: 665 Window manager's "showing the desktop" mode: N/A ``` Co-authored-by: Ram Kaniyur <quadrupleslap@gmail.com>
157: Handle resizing in hello-triangle r=kvark a=quadrupleslap Nothing gets drawn on my computer unless the swap chain is resized along with the window. ``` $ uname -a Linux red 5.3.7-arch1-1-ARCH #1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64 GNU/Linux $ wmctrl -m Name: bspwm Class: wm PID: 665 Window manager's "showing the desktop" mode: N/A ``` Co-authored-by: Ram Kaniyur <quadrupleslap@gmail.com>
As requested in #152 I have opened a PR to add the repro as a test case.
I used rusty fork to allow setting a timeout.
Rusty fork also runs each test in a separate process.
Open to any suggestions on how to organize tests etc.
I could add #156 if you want?
Maybe name the tests by issue number?
If we add a test for every issue, breaking changes would become really annoying :/