Function ocl_core::enqueue_task [] [src]

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