coreylowman / cudarc

Safe rust wrapper around CUDA toolkit
Apache License 2.0
483 stars 65 forks source link

Unable to find nvrtc lib under the names ["nvrtc", "nvrtc64", "nvrtc64_12", "nvrtc64_125", "nvrtc64_125_0", "nvrtc64_120_5", "nvrtc64_10"]. Please open GitHub issue. #246

Closed brandonros closed 2 weeks ago

brandonros commented 3 weeks ago
PS C:\Users\Brandon\Desktop\cuda_fun> cargo run
   Compiling cuda_fun v0.1.0 (C:\Users\Brandon\Desktop\cuda_fun)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s
     Running `C:\Users\Brandon\.cargo\.target\debug\cuda_fun.exe`
thread 'main' panicked at C:\Users\Brandon\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cudarc-0.11.4\src\nvrtc\sys\mod.rs:51:9:
Unable to find nvrtc lib under the names ["nvrtc", "nvrtc64", "nvrtc64_12", "nvrtc64_125", "nvrtc64_125_0", "nvrtc64_120_5", "nvrtc64_10"]. Please open GitHub issue.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `C:\Users\Brandon\.cargo\.target\debug\cuda_fun.exe` (exit code: 101)

image

No clue why CUDA v12.5 would have nvrtc64_120_0.dll DLL but guess we need to support that?

Guessing it needs to be added here: https://github.com/coreylowman/cudarc/blob/6fa8132e87c66efd56c9580235af66559a513d2e/src/lib.rs#L97

brandonros commented 2 weeks ago

closed via https://github.com/coreylowman/cudarc/pull/250#event-13121922611