Function opencl3::event::retain_event[][src]

pub fn retain_event(event: *mut c_void) -> Result<(), i32>
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.