Пример #1
0
func releaseEvent(ev *Event) {
	if ev.clEvent != nil {
		C.clReleaseEvent(ev.clEvent)
		ev.clEvent = nil
	}
}
Пример #2
0
// 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))
}
Пример #3
0
func CLReleaseEvent(event CL_event) CL_int {
	return CL_int(C.clReleaseEvent(event.cl_event))
}