diff options
Diffstat (limited to 'level_zero/src/ze.rs')
-rw-r--r-- | level_zero/src/ze.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/level_zero/src/ze.rs b/level_zero/src/ze.rs index 4f120de..eb3887b 100644 --- a/level_zero/src/ze.rs +++ b/level_zero/src/ze.rs @@ -743,7 +743,7 @@ impl<'a> Kernel<'a> { check!(sys::zeKernelSetArgumentValue(
self.0,
index,
- mem::size_of::<T>(),
+ mem::size_of::<*const ()>(),
&ptr as *const _ as *const _,
));
Ok(())
|