-
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
Use numba to get CUDA runtime version. #946
Use numba to get CUDA runtime version. #946
Conversation
cc @shwina |
Can we please file an issue about this on cuda-python? |
Co-authored-by: GALI PREM SAGAR <[email protected]>
5d5ba85
to
d4bae42
Compare
Issue opened: NVIDIA/cuda-python#16 |
if status != cudart.cudaError_t.cudaSuccess: | ||
raise CUDARuntimeError(status) | ||
return version | ||
# TODO: Replace this with `cuda.cudart.cudaRuntimeGetVersion()` when the |
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.
Maybe we should have an RMM issue about this?
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.
Done: #949
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.
Issue filed: #948
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.
Thanks! 😄
@gpucibot merge |
This PR uses
numba
to fetch the CUDA runtime version, rather than cuda-python.The current implementation of cuda-python's
cuda.cudart.cudaRuntimeGetVersion()
hard-codes the runtime version, rather than querying the runtime for its version. This is a known limitation that may not be resolved in the near term. cc: @vzhurba01