table of contents
CLRETAINEVENT(3clc) | OpenCL Manual | CLRETAINEVENT(3clc) |
NAME¶
clRetainEvent - Increments the event reference count.¶
cl_int
clRetainEvent(cl_event event);
PARAMETERS¶
eventEvent object being retained.
NOTES¶
The OpenCL commands that return an event perform an implicit retain.ERRORS¶
Returns CL_SUCCESS if the function executed successfully, or one of the errors below:•CL_INVALID_EVENT if event is not a valid
event object.
•CL_OUT_OF_RESOURCES if there is a failure to
allocate resources required by the OpenCL implementation on the device.
•CL_OUT_OF_HOST_MEMORY if there is a failure to
allocate resources required by the OpenCL implementation on the host.
SPECIFICATION¶
OpenCL Specification[1]SEE ALSO¶
clGetEventInfo(3clc), clReleaseEvent(3clc), clWaitForEvents(3clc)AUTHORS¶
The Khronos GroupCOPYRIGHT¶
Copyright © 2007-2011 The Khronos Group Inc.NOTES¶
- 1.
- OpenCL Specification
page 184, section 5.9 - Event Objects
06/18/2014 | The Khronos Group |