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

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

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