[][src]Function opencl3::event::set_user_event_status

pub fn set_user_event_status(
    event: *mut c_void,
    execution_status: i32
) -> Result<(), i32>

Set the execution status of a user event object.
Calls clSetUserEventStatus to set the execution status.

  • event - the OpenCL event.
  • execution_status - the OpenCL execution_status.

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