[−][src]Function opencl3::event::retain_event
pub fn retain_event(event: *mut c_void) -> Result<(), i32>
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.