[−][src]Function opencl3::event::release_event
pub fn release_event(event: *mut c_void) -> Result<(), i32>
Release an OpenCL event.
Calls clReleaseEvent to decrement the event reference count.
event
- the OpenCL event.
returns an empty Result or the error code from the OpenCL C API function.