Function ocl::core::enqueue_task [] [src]

pub fn enqueue_task<E: ClEventPtrNew>(command_queue: &CommandQueue, kernel: &Kernel, wait_list: Option<&EventList>, new_event: Option<&mut E>, 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.