Function opencl3::event::retain_event [−][src]
Expand description
Retain an OpenCL event.
Calls clRetainEvent to increment the event reference count.
event
- the OpenCL event.
returns an empty Result or the error code from the OpenCL C API function.