Function ocl_core::enqueue_task
[−]
[src]
pub fn enqueue_task<En: ClNullEventPtr, Ewl: ClWaitListPtr>(
command_queue: &CommandQueue,
kernel: &Kernel,
wait_list: Option<Ewl>,
new_event: Option<En>,
kernel_name: Option<&str>
) -> OclResult<()>
[UNTESTED] Enqueues a command to execute a kernel on a device.
The kernel is executed using a single work-item.
From SDK: clEnqueueTask is equivalent to calling clEnqueueNDRangeKernel with work_dim = 1, global_work_offset = NULL, global_work_size[0] set to 1, and local_work_size[0] set to 1.