func CLSetUserEventStatus(event CL_event, execution_status CL_int) CL_int { return CL_int(C.clSetUserEventStatus(event.cl_event, C.cl_int(execution_status))) }
// Sets the execution status of a user event object. // // `status` specifies the new execution status to be set and // can be CL_COMPLETE or a negative integer value to indicate // an error. A negative integer value causes all enqueued commands // that wait on this user event to be terminated. clSetUserEventStatus // can only be called once to change the execution status of event. func (e *Event) SetUserEventStatus(status int) error { return toError(C.clSetUserEventStatus(e.clEvent, C.cl_int(status))) }
func (ev *Event) SetUserEventStatus(status CommandExecStatus) error { return toError(C.clSetUserEventStatus(ev.clEvent, (C.cl_int)(status))) }