mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-22 10:19:31 +00:00
Overhaul DLL injection
This commit is contained in:
parent
c869a0d611
commit
2753d956df
13 changed files with 295 additions and 430 deletions
10
zluda_inject/tests/helpers/do_cuinit_early.rs
Normal file
10
zluda_inject/tests/helpers/do_cuinit_early.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
#![crate_type = "bin"]
|
||||
|
||||
#[link(name = "do_cuinit")]
|
||||
extern "system" {
|
||||
fn do_cuinit(flags: u32) -> u32;
|
||||
}
|
||||
|
||||
fn main() {
|
||||
unsafe { do_cuinit(0) };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue