mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-10-04 15:19:37 +00:00
This is a collection of random changes coming from the workload I'm working on. The most important change is better support for `.params`: PTX uses .param namespace both for some local variables and kernel args. This is a problem for us because those are different address spaces on AMDGPU. So far we've made an effort to convert to local and const namespaces whenever possible, but this commit tries to handle more patterns, which are impossible to track precisely, by converting to generic space.
7 lines
192 B
Rust
Vendored
7 lines
192 B
Rust
Vendored
use std::env::VarError;
|
|
|
|
fn main() -> Result<(), VarError> {
|
|
println!("cargo:rustc-link-lib=dylib=rocm_smi64");
|
|
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
|
|
Ok(())
|
|
}
|