Function opencl3::context::context::retain_context [−][src]
Expand description
Retain an OpenCL context.
Calls clRetainContext to increment the context reference count.
context
- the cl_context of the OpenCL context.
returns an empty Result or the error code from the OpenCL C API function.