-
Notifications
You must be signed in to change notification settings - Fork 182
Support for CUDA 12.0 (libnvvm 2.0) #100
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
Comments
* Figure out what works for the add example * Update guide's CUDA SDK versions See also #100
We've just finished updates to a more recent rust toolchain. In my workspace, I've been using 12.8 with libnvvm 2.0, and have changed the line here to bypass that check 🤣 I'm not sure what issues this might cause with either the codegen or the cust/cuda crates today, but for now it seems to "just work". |
Here is the change log: https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html#revision-history |
It doesn't look the libnvvm API was breaking, and I don't think there is any case where we can generate multiple versions concurrently. We don't appear to support the addresspace intrinsics they removed, and there is a reference to addrspacecast in the codebase which is what they suggest using. We don't support pragma unroll, which changed in 2.0. The only one I am concerned about is:
But I doubt it would be an issue unless you are mixing and matching. So let's closed this as fixed and deal with any issues in follow-up bugs 🚀 |
Hello.
I just upgraded to CUDA 12.0 and I am getting the following error in
cuda_builder
:This seems to be because CUDA 12.0 uses libnvvm 2.0, which is incompatible with version 1 1 2, and the version check fails.
Is there any plan to support CUDA 12.0? Thanks in advance!
Environment
Footnotes
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html ↩
https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html ↩
The text was updated successfully, but these errors were encountered: