[−][src]Function opencl3::command_queue::retain_command_queue
pub fn retain_command_queue(command_queue: *mut c_void) -> Result<(), i32>
Retain an OpenCL command-queue.
Calls clRetainCommandQueue to increment the command-queue reference count.
command_queue
- the OpenCL command-queue.
returns an empty Result or the error code from the OpenCL C API function.