mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-10 18:19:08 +00:00
Implement initial support for cvt instruction (only integer-to-integer)
This commit is contained in:
parent
a10ee48e91
commit
7b407d1c44
9 changed files with 583 additions and 166 deletions
|
@ -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(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue