diff options
author | Andrzej Janik <[email protected]> | 2020-08-05 01:58:01 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2020-08-05 01:58:01 +0200 |
commit | 7b407d1c44535c2aef2c1ca0eb1fbbb58a1513d2 (patch) | |
tree | c7d03a648d8fdd38893aa57f2c0393d9ab626614 /level_zero | |
parent | a10ee48e91dba08f4709d9e9928a530bec8e93bb (diff) | |
download | ZLUDA-7b407d1c44535c2aef2c1ca0eb1fbbb58a1513d2.tar.gz ZLUDA-7b407d1c44535c2aef2c1ca0eb1fbbb58a1513d2.zip |
Implement initial support for cvt instruction (only integer-to-integer)
Diffstat (limited to 'level_zero')
-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(())
|