Function opencl3::program::retain_program [−][src]
pub fn retain_program(program: *mut c_void) -> Result<(), i32>
Expand description
Retain an OpenCL program.
Calls clRetainProgram to increment the program reference count.
program
- the OpenCL program.
returns an empty Result or the error code from the OpenCL C API function.