ZLUDA/ext/hipblaslt-sys/build.rs
Violet 5185138596
Some checks are pending
ZLUDA / Build (Linux) (push) Waiting to run
ZLUDA / Build (Windows) (push) Waiting to run
ZLUDA / Build AMD GPU unit tests (push) Waiting to run
ZLUDA / Run AMD GPU unit tests (push) Blocked by required conditions
Create bindings for hipblasLt (#510)
Generate bindings for hipblasLt and make some changes to the bindings for cublasLt. Notably, the `hip_type` `Option` is changed to a `Vec`, so that multiple `From` implementations (for `rocblas_error` and `hipblasLtError`) can be created for `cublasError_t`.
2025-09-16 16:23:15 -07:00

9 lines
229 B
Rust
Vendored

use std::env::VarError;
fn main() -> Result<(), VarError> {
if !cfg!(windows) {
println!("cargo:rustc-link-lib=dylib=hipblaslt");
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
}
Ok(())
}