-
Notifications
You must be signed in to change notification settings - Fork 204
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
[CUDAX] Add a dummy device struct for now #2066
[CUDAX] Add a dummy device struct for now #2066
Conversation
🟩 CI finished in 37m 36s: Pass: 100%/56 | Total: 2h 28m | Avg: 2m 39s | Max: 12m 01s | Hits: 96%/1638
|
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
pycuda |
Modifications in project or dependencies?
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
+/- | pycuda |
🏃 Runner counts (total jobs: 56)
# | Runner |
---|---|
41 | linux-amd64-cpu16 |
9 | linux-amd64-gpu-v100-latest-1 |
4 | linux-arm64-cpu16 |
2 | windows-amd64-cpu16 |
fixes #2040 |
//! specified device on construction and switches to the saved device on | ||
//! destruction. | ||
//! | ||
struct __scoped_device |
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.
//! specified device on construction and switches to the saved device on | ||
//! destruction. | ||
//! | ||
struct __scoped_device |
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.
Should this be in cuda::experimental::detail namespace?
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.
I believe this is quite useful so I would want it to be where it is. For now it is using a reserved name so that is as good as a detail namespace
🟨 CI finished in 6h 22m: Pass: 94%/56 | Total: 2h 59m | Avg: 3m 12s | Max: 13m 23s | Hits: 93%/1548
|
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
pycuda |
Modifications in project or dependencies?
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
+/- | pycuda |
🏃 Runner counts (total jobs: 56)
# | Runner |
---|---|
41 | linux-amd64-cpu16 |
9 | linux-amd64-gpu-v100-latest-1 |
4 | linux-arm64-cpu16 |
2 | windows-amd64-cpu16 |
🟩 CI finished in 7h 13m: Pass: 100%/56 | Total: 2h 29m | Avg: 2m 40s | Max: 11m 23s | Hits: 93%/1638
|
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
pycuda |
Modifications in project or dependencies?
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
+/- | pycuda |
🏃 Runner counts (total jobs: 56)
# | Runner |
---|---|
41 | linux-amd64-cpu16 |
9 | linux-amd64-gpu-v100-latest-1 |
4 | linux-arm64-cpu16 |
2 | windows-amd64-cpu16 |
* Add dummy device struct * add `__scoped_device` for changing and restoring the current device --------- Co-authored-by: Michael Schellenberger Costa <[email protected]> Co-authored-by: Eric Niebler <[email protected]>
* Add dummy device struct * add `__scoped_device` for changing and restoring the current device --------- Co-authored-by: Michael Schellenberger Costa <[email protected]> Co-authored-by: Eric Niebler <[email protected]>
Before we decide how exactly the device struct should look like, we should have something we can refer to from other parts of the project.