Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for CUDA 12.0 (libnvvm 2.0)

n4o847 opened this issue · comments

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 2, and the version check fails.

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

Environment

  • Ubuntu 22.04
  • Rust nightly-2021-12-04 (the same version as this repository)
  • CUDA 12.0
  • LLVM 7.1.0

Footnotes

  1. https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

  2. https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html