1.3.7 Event Objects
(require opencl/c/5-7) | package: opencl |
procedure
(clWaitForEvents wait-list) → void
wait-list : (vectorof _cl_event/c)
value
A dummy Racket function that refers callers to the other clGetEventInfo-based functions which access the true C function.
procedure
(clGetEventInfo:length event param_name) → _size_t/c
event : _cl_event/c param_name : _cl_event_info/c
Returns the size of param_name field of the argument(s). Calls clGetEventInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
procedure
(clGetEventInfo:_cl_command_queue event param_name) → _cl_command_queue/c event : _cl_event/c param_name : _cl_event_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetEventInfo with param_value_size set to (ctype-sizeof _cl_command_queue) so that the value is queried. Valid param_names are '(CL_EVENT_COMMAND_QUEUE).
procedure
(clGetEventInfo:_cl_command_type event param_name) → _cl_command_type/c event : _cl_event/c param_name : _cl_event_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetEventInfo with param_value_size set to (ctype-sizeof _cl_command_type) so that the value is queried. Valid param_names are '(CL_EVENT_COMMAND_TYPE).
procedure
(clGetEventInfo:_command_execution_status event param_name) → _command_execution_status/c event : _cl_event/c param_name : _cl_event_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetEventInfo with param_value_size set to (ctype-sizeof _command_execution_status) so that the value is queried. Valid param_names are '(CL_EVENT_COMMAND_EXECUTION_STATUS).
procedure
(clGetEventInfo:_cl_uint event param_name) → _cl_uint/c
event : _cl_event/c param_name : _cl_event_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetEventInfo with param_value_size set to (ctype-sizeof _cl_uint) so that the value is queried. Valid param_names are '(CL_EVENT_REFERENCE_COUNT).
value
A contract for the return values of clGetEventInfo:generic. Its definition is: (or/c _cl_command_queue/c _cl_command_type/c _command_execution_status/c _cl_uint/c).
procedure
(clGetEventInfo:generic event param_name) → clGetEventInfo/c
event : _cl_event/c param_name : _cl_event_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetEventInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
procedure
(clRetainEvent evt) → void
evt : _cl_event/c
procedure
(clReleaseEvent evt) → void
evt : _cl_event/c