aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_inject/tests/helpers/do_cuinit_early.rs
blob: 7d108554ee1af9d9acc06cf4b4618688d4006628 (plain)
1
2
3
4
5
6
7
8
9
10
#![crate_type = "bin"]

#[link(name = "do_cuinit", kind = "raw-dylib")]
extern "system" {
    fn do_cuinit(flags: u32) -> u32;
}

fn main() {
    unsafe { do_cuinit(0) };
}