public static dim_type_clr ConvertDimType(dim_type dim) { return(new dim_type_clr { x = dim.x, y = dim.y, z = dim.z }); }
public bool launch(dim_type gridDim, dim_type blockDim, DeviceViewable[] args, uint sharedMemBytes = 0) { IntPtr p_args = Internal.ConvertDVList(args); return(Native.kernel_launch(m_cptr, Internal.ConvertDimType(gridDim), Internal.ConvertDimType(blockDim), p_args, sharedMemBytes)); }