mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-28 21:47:57 +03:00
9 lines
128 B
Rust
9 lines
128 B
Rust
#![crate_type = "bin"]
|
|
|
|
extern "system" {
|
|
fn cuInit(flags: u32) -> u32;
|
|
}
|
|
|
|
fn main() {
|
|
unsafe { cuInit(0) };
|
|
}
|