nvml-wrapper-sys 0.1.0

Generated bindings to the NVIDIA Management Library.
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(target_os = "windows")]
fn main() {
    println!("cargo:rustc-link-lib=nvml");
    println!("cargo:rustc-link-search=C:\\Program Files\\NVIDIA Corporation\\NVSMI");
}

#[cfg(target_os = "linux")]
fn main() {
    println!("cargo:rustc-link-lib=nvidia-ml");
}