Implement initial support for cvt instruction (only integer-to-integer)

This commit is contained in:
Andrzej Janik 2020-08-05 01:58:01 +02:00
commit 7b407d1c44
9 changed files with 583 additions and 166 deletions

View file

@ -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(())