mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-17 07:50:18 +00:00
Add missing support for Milestone 1
This commit is contained in:
parent
42bcd999eb
commit
e0190fcbe1
18 changed files with 980 additions and 615 deletions
|
@ -726,6 +726,11 @@ impl<'a> Kernel<'a> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub unsafe fn set_arg_raw(&self, index: u32, size: usize, value: *const c_void) -> Result<()> {
|
||||
check!(sys::zeKernelSetArgumentValue(self.0, index, size, value));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn set_group_size(&self, x: u32, y: u32, z: u32) -> Result<()> {
|
||||
check!(sys::zeKernelSetGroupSize(self.0, x, y, z));
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue