Skip to content

Commit

Permalink
Delete leftover duplicate link_cuda.
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelPeeters committed Jan 30, 2024
1 parent 51a236e commit b2bc825
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions kn-cuda-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ fn platform() -> PlatformSpecific {
}
}

#[cfg(target_family = "unix")]
fn link_cuda() -> Vec<PathBuf> {
// TODO also use env vars here if they're present?
println!("cargo:rustc-link-search=native=/usr/local/cuda/lib64");

vec![
PathBuf::from("/usr/local/cuda/include/"),
PathBuf::from("/usr/local/cuda/include/nvtx3"),
]
}

const CUDA_PATH_VAR: &str = "CUDA_PATH";
const CUDNN_PATH_VAR: &str = "CUDNN_PATH";

Expand Down

0 comments on commit b2bc825

Please sign in to comment.