diff options
author | Andrzej Janik <[email protected]> | 2024-03-28 16:53:52 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2024-03-28 16:53:52 +0100 |
commit | 067c923408e962260bc4cfbf9374b3f75ca939ff (patch) | |
tree | b859e69871df173253285a852d09c9999d483752 /zluda/src/impl/device.rs | |
parent | d41fbd50fff117b4ce0a7815aa158e8b356dbc00 (diff) | |
download | ZLUDA-blender_42.tar.gz ZLUDA-blender_42.zip |
Clean up, add cuCtxSetFlagsblender_42
Diffstat (limited to 'zluda/src/impl/device.rs')
-rw-r--r-- | zluda/src/impl/device.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/zluda/src/impl/device.rs b/zluda/src/impl/device.rs index caace1d..c7e8190 100644 --- a/zluda/src/impl/device.rs +++ b/zluda/src/impl/device.rs @@ -1,6 +1,6 @@ use super::context::{ContextInnerMutable, ContextVariant, PrimaryContextData}; use super::{ - context, LiveCheck, ZludaObject, GLOBAL_STATE + context, LiveCheck, GLOBAL_STATE }; use crate::r#impl::context::ContextData; use crate::{r#impl::IntoCuda, hip_call_cuda}; @@ -12,11 +12,7 @@ use paste::paste; use std::{ mem, os::raw::{c_char, c_uint}, - ptr, - sync::{ - atomic::AtomicU32, - Mutex, - }, ops::AddAssign, ffi::CString, + ptr,ffi::CString, }; const ZLUDA_SUFFIX: &'static [u8] = b" [ZLUDA]\0"; |