Example #1
0
func CLRetainEvent(event CL_event) CL_int {
	return CL_int(C.clRetainEvent(event.cl_event))
}
Example #2
0
File: package.go Project: mantyr/cl
// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clRetainEvent.html
func RetainEvent(e Event) ErrorCode {
	return ErrorCode(C.clRetainEvent(e.clEvent))
}
Example #3
0
File: event.go Project: xfong/tmpCL
func retainEvent(ev *Event) {
	if ev.clEvent != nil {
		C.clRetainEvent(ev.clEvent)
	}
}