Skip to content

Support for CUDA 12.0 (libnvvm 2.0) #100

Closed
@n4o847

Description

@n4o847

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions