pub unsafe fn enqueue_kernel<En: ClNullEventPtr, Ewl: ClWaitListPtr>(
command_queue: &CommandQueue,
kernel: &Kernel,
work_dims: u32,
global_work_offset: Option<[usize; 3]>,
global_work_dims: &[usize; 3],
local_work_dims: Option<[usize; 3]>,
wait_list: Option<Ewl>,
new_event: Option<En>
) -> OclCoreResult<()>
Enqueues a command to execute a kernel on a device.
Running any kernel is an inherently unsafe process. The API call itself is
safe but the kernel execution is not.
- Work dimension/offset sizes may eventually be wrapped up in
specialized types.
SDK Docs