Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
2.97k stars 112 forks source link

Support for CUDA 12.0 (libnvvm 2.0) #100

Open n4o847 opened 1 year ago

n4o847 commented 1 year ago

Hello.

I just upgraded to CUDA 12.0 and I am getting the following error in cuda_builder:

error: rustc_codegen_nvvm requires at least libnvvm 1.6 (CUDA 11.2)

This seems to be because CUDA 12.0 uses libnvvm 2.0, which is incompatible with version 1 ^1, and the version check fails.

Is there any plan to support CUDA 12.0? Thanks in advance!

Environment