Function opencl3::command_queue::finish
source ยท pub fn finish(command_queue: *mut c_void) -> Result<(), i32>
Expand description
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.