1.3.7 Event Objects
| (clWaitForEvents wait-list) → void |
| wait-list : (vectorof _cl_event/c) |
A dummy Scheme function that refers callers to the other clGetEventInfo-based functions which access the true C function.
| (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.
| (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).
| (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).
| (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).
| (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).
| clGetEventInfo/c : contract? |
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).
| (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.
| (clRetainEvent evt) → void |
| evt : _cl_event/c |
| (clReleaseEvent evt) → void |
| evt : _cl_event/c |