Skip to content
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

Using nvcc to get cuda toolkit version instead of cuda.h #241

Merged
merged 2 commits into from
May 30, 2024

Conversation

coreylowman
Copy link
Owner

Resolve #239

Swapping to extracting cuda toolkit version by running nvcc --version and parsing the output. The previous method had a lot of shortcomings, and nvcc is pretty standard way to get the cuda toolkit version.

For more information on this see https://stackoverflow.com/questions/53422407/different-cuda-versions-shown-by-nvcc-and-nvidia-smi

@coreylowman coreylowman merged commit 8572e7e into main May 30, 2024
3 checks passed
@coreylowman coreylowman deleted the nvcc-version branch May 30, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue for building my rust application with cudarc v0.11.1 (Unsupported cuda toolkit version: 10010)
1 participant