[−][src]Function opencl3::command_queue::finish
pub fn finish(command_queue: *mut c_void) -> Result<(), i32>
Wait for completion of commands on a device.
Calls clFinish and blocks until all previously queued commands have completed.
command_queue
- the OpenCL command-queue.
returns an empty Result or the error code from the OpenCL C API function.