[][src]Function opencl3::event::wait_for_events

pub fn wait_for_events(events: &[*mut c_void]) -> Result<(), i32>

Wait for OpenCL events to complete.
Calls clWaitForEvents.

  • events - a slice of OpenCL events.

returns an empty Result or the error code from the OpenCL C API function.