-
Notifications
You must be signed in to change notification settings - Fork 188
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
Implement some CUDA API calls for async_memory_pool
#2455
Conversation
🟩 CI finished in 12m 28s: Pass: 100%/52 | Total: 2h 43m | Avg: 3m 08s | Max: 11m 07s | Hits: 82%/222
|
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
pycuda | |
CUDA C Core Library |
Modifications in project or dependencies?
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
pycuda | |
CUDA C Core Library |
🏃 Runner counts (total jobs: 52)
# | Runner |
---|---|
41 | linux-amd64-cpu16 |
5 | linux-amd64-gpu-v100-latest-1 |
4 | linux-arm64-cpu16 |
2 | windows-amd64-cpu16 |
b88fc90
to
de97fff
Compare
de97fff
to
ceb3f5c
Compare
🟩 CI finished in 12m 12s: Pass: 100%/52 | Total: 2h 19m | Avg: 2m 41s | Max: 10m 55s | Hits: 82%/222
|
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
pycuda | |
CUDA C Core Library |
Modifications in project or dependencies?
Project | |
---|---|
CCCL Infrastructure | |
libcu++ | |
CUB | |
Thrust | |
+/- | CUDA Experimental |
pycuda | |
CUDA C Core Library |
🏃 Runner counts (total jobs: 52)
# | Runner |
---|---|
41 | linux-amd64-cpu16 |
5 | linux-amd64-gpu-v100-latest-1 |
4 | linux-arm64-cpu16 |
2 | windows-amd64-cpu16 |
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 think we would like to have strongly typed pool attributes like with device attributes, but I also don't think it's a high priority right now.
{ | ||
cudax::mr::async_memory_pool pool{current_device}; | ||
|
||
{ // cudaMemPoolReuseFollowEventDependencies |
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.
Could this repeated test be a template (even a lambda)?
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.
The issue is that some attributes do not have setters, some need an allocation some dont
Those API calls are quite usefull so we should expose them as part of the interface