mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-09-27 03:39:10 +00:00
Add integration tests for injector
This commit is contained in:
parent
0104814ac3
commit
3558a0a65c
4 changed files with 90 additions and 0 deletions
9
zluda_inject/tests/helpers/direct_cuinit.rs
Normal file
9
zluda_inject/tests/helpers/direct_cuinit.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
#![crate_type = "bin"]
|
||||
|
||||
extern "system" {
|
||||
fn cuInit(flags: u32) -> u32;
|
||||
}
|
||||
|
||||
fn main() {
|
||||
unsafe { cuInit(0) };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue