Function ocl_core::enqueue_kernel [] [src]

pub 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>
) -> OclResult<()>

Enqueues a command to execute a kernel on a device.

Safety

Running any kernel is an inherently unsafe process. As an API call this function is safe. The kernel code it may run must always be considered unsafe.

Stability

SDK Docs