pub fn create_user_event(context: cl_context) -> Result<cl_event, cl_int>Expand description
Create an OpenCL user event object.
Calls clCreateUserEvent to create an OpenCL event.
context- a validOpenCLcontext.
returns a Result containing the new OpenCL event object
or the error code from the OpenCL C API function.