[][src]Function opencl3::command_queue::flush

pub fn flush(command_queue: *mut c_void) -> Result<(), i32>

Flush commands to a device.
Calls clFlush to flush an OpenCL command-queue.

  • command_queue - the OpenCL command-queue.

returns an empty Result or the error code from the OpenCL C API function.