diff options
author | Andrzej Janik <[email protected]> | 2022-01-07 04:20:33 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2022-01-07 04:20:33 +0100 |
commit | 869efbe0e2597d130a973d38d0d9bbdb70a67874 (patch) | |
tree | 347bee64790847828ab412c4ccc4bfe66f8520c6 /zluda_dump/src/os_win.rs | |
parent | 9390db962bf228902c5c63ed2d2861d820d18210 (diff) | |
download | ZLUDA-869efbe0e2597d130a973d38d0d9bbdb70a67874.tar.gz ZLUDA-869efbe0e2597d130a973d38d0d9bbdb70a67874.zip |
Move zluda_dump to the new CUDA infrastructure
Diffstat (limited to 'zluda_dump/src/os_win.rs')
-rw-r--r-- | zluda_dump/src/os_win.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/zluda_dump/src/os_win.rs b/zluda_dump/src/os_win.rs index d80f6e6..c138cc0 100644 --- a/zluda_dump/src/os_win.rs +++ b/zluda_dump/src/os_win.rs @@ -1,8 +1,6 @@ use std::{
- ffi::{c_void, CStr, CString, OsString},
- mem,
- os::raw::c_ushort,
- ptr,
+ ffi::{c_void, CStr},
+ mem, ptr,
};
use std::os::windows::io::AsRawHandle;
@@ -12,7 +10,7 @@ use winapi::{ um::libloaderapi::{GetProcAddress, LoadLibraryW},
};
-use crate::cuda::CUuuid;
+use cuda_types::CUuuid;
pub(crate) const LIBCUDA_DEFAULT_PATH: &'static str = "C:\\Windows\\System32\\nvcuda.dll";
const LOAD_LIBRARY_NO_REDIRECT: &'static [u8] = b"ZludaLoadLibraryW_NoRedirect\0";
|