Add more tests for CUDA redirection

This commit is contained in:
Andrzej Janik 2021-12-02 23:47:37 +01:00
commit 26bf0eeaf2
5 changed files with 65 additions and 6 deletions

View file

@ -0,0 +1,10 @@
#![crate_type = "cdylib"]
extern "system" {
fn cuInit(flags: u32) -> u32;
}
#[no_mangle]
unsafe extern "system" fn do_cuinit(flags: u32) -> u32 {
cuInit(flags)
}