Example #1
0
func releaseEvent(ev *Event) {
	if ev.clEvent != nil {
		C.clReleaseEvent(ev.clEvent)
		ev.clEvent = nil
	}
}
Example #2
0
File: package.go Project: mantyr/cl
// 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))
}
Example #3
0
func CLReleaseEvent(event CL_event) CL_int {
	return CL_int(C.clReleaseEvent(event.cl_event))
}