ZLUDA/zluda_inject/tests/helpers/direct_cuinit.rs
Andrzej Janik 059b8ca0f6
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
Make sure it is possible to log 32bit PhysX (#374)
2025-07-08 10:19:49 -07:00

10 lines
174 B
Rust

#![crate_type = "bin"]
#[link(name = "nvcuda", kind = "raw-dylib")]
extern "system" {
fn cuInit(flags: u32) -> u32;
}
fn main() {
unsafe { cuInit(0) };
}