Esempio n. 1
0
func CLRetainEvent(event CL_event) CL_int {
	return CL_int(C.clRetainEvent(event.cl_event))
}
Esempio n. 2
0
File: package.go Progetto: 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))
}
Esempio n. 3
0
File: event.go Progetto: xfong/tmpCL
func retainEvent(ev *Event) {
	if ev.clEvent != nil {
		C.clRetainEvent(ev.clEvent)
	}
}