Skip to content

Commit 5b9e9d9

Browse files
authored
Add new CUDA default path for Ubuntu 24.04 (#128)
1 parent 9721485 commit 5b9e9d9

File tree

1 file changed

+1
-1
lines changed
  • crates/find_cuda_helper/src

1 file changed

+1
-1
lines changed

crates/find_cuda_helper/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn find_cuda_root() -> Option<PathBuf> {
4242

4343
// If it wasn't specified by env var, try the default installation paths
4444
#[cfg(not(target_os = "windows"))]
45-
let default_paths = ["/usr/local/cuda", "/opt/cuda"];
45+
let default_paths = ["/usr/lib/cuda", "/usr/local/cuda", "/opt/cuda"];
4646
#[cfg(target_os = "windows")]
4747
let default_paths = ["C:/CUDA"]; // TODO (AL): what's the actual path here?
4848

0 commit comments

Comments
 (0)