Function opencl3::memory::retain_mem_object [−][src]
Expand description
Retain an OpenCL memory object.
Calls clRetainMemObject to increment the memory object reference count.
memobj
- the OpenCL memory object.
returns an empty Result or the error code from the OpenCL C API function.