aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda/src/impl/mod.rs
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2024-12-01 03:36:16 +0000
committerAndrzej Janik <[email protected]>2024-12-01 03:36:16 +0000
commit1f1b770a511e4dd9116167bf1b02aae0df07ee3b (patch)
tree4ebd45adf1f88de1ad7e7507797dac12a7802a48 /zluda/src/impl/mod.rs
parent502b0c957e1fb58f5b6df678a26b8758349f8eb4 (diff)
downloadZLUDA-1f1b770a511e4dd9116167bf1b02aae0df07ee3b.tar.gz
ZLUDA-1f1b770a511e4dd9116167bf1b02aae0df07ee3b.zip
Fix more missing stuff in the host codecuda-12-4
Diffstat (limited to 'zluda/src/impl/mod.rs')
-rw-r--r--zluda/src/impl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zluda/src/impl/mod.rs b/zluda/src/impl/mod.rs
index 7b4afc5..766b4a5 100644
--- a/zluda/src/impl/mod.rs
+++ b/zluda/src/impl/mod.rs
@@ -162,7 +162,7 @@ impl<T: ZludaObject> LiveCheck<T> {
}
fn as_handle(&self) -> T::CudaHandle {
- unsafe { mem::transmute_copy(self) }
+ unsafe { mem::transmute_copy(&self) }
}
fn wrap(data: T) -> *mut Self {