mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-10-04 23:30:18 +00:00
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`.
9 lines
229 B
Rust
Vendored
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(())
|
|
}
|