func releaseEvent(ev *Event) { if ev.clEvent != nil { C.clReleaseEvent(ev.clEvent) ev.clEvent = nil } }
// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clReleaseEvent.html func ReleaseEvent(e Event) ErrorCode { return ErrorCode(C.clReleaseEvent(e.clEvent)) }
func CLReleaseEvent(event CL_event) CL_int { return CL_int(C.clReleaseEvent(event.cl_event)) }