1.3.1 Command Queues
(require opencl/c/5-1) | package: opencl |
procedure
(clCreateCommandQueue ctxt device properties) → _cl_command_queue/c ctxt : _cl_context/c device : _cl_device_id/c properties : _cl_command_queue_properties/c
procedure
(clRetainCommandQueue cq) → void
cq : _cl_command_queue/c
procedure
(clReleaseCommandQueue cq) → void
cq : _cl_command_queue/c
value
A dummy Racket function that refers callers to the other clGetCommandQueueInfo-based functions which access the true C function.
procedure
(clGetCommandQueueInfo:length command_queue param_name) → _size_t/c command_queue : _cl_command_queue/c param_name : _cl_command_queue_info/c
Returns the size of param_name field of the argument(s). Calls clGetCommandQueueInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
procedure
(clGetCommandQueueInfo:_cl_context command_queue param_name) → _cl_context/c command_queue : _cl_command_queue/c param_name : _cl_command_queue_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetCommandQueueInfo with param_value_size set to (ctype-sizeof _cl_context) so that the value is queried. Valid param_names are '(CL_QUEUE_CONTEXT).
procedure
(clGetCommandQueueInfo:_cl_device_id command_queue param_name) → _cl_device_id/c command_queue : _cl_command_queue/c param_name : _cl_command_queue_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetCommandQueueInfo with param_value_size set to (ctype-sizeof _cl_device_id) so that the value is queried. Valid param_names are '(CL_QUEUE_DEVICE).
procedure
(clGetCommandQueueInfo:_cl_uint command_queue param_name) → _cl_uint/c command_queue : _cl_command_queue/c param_name : _cl_command_queue_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetCommandQueueInfo with param_value_size set to (ctype-sizeof _cl_uint) so that the value is queried. Valid param_names are '(CL_QUEUE_REFERENCE_COUNT).
procedure
(clGetCommandQueueInfo:_cl_command_queue_properties command_queue param_name) → _cl_command_queue_properties/c command_queue : _cl_command_queue/c param_name : _cl_command_queue_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetCommandQueueInfo with param_value_size set to (ctype-sizeof _cl_command_queue_properties) so that the value is queried. Valid param_names are '(CL_QUEUE_PROPERTIES).
value
A contract for the return values of clGetCommandQueueInfo:generic. Its definition is: (or/c _cl_context/c _cl_device_id/c _cl_uint/c _cl_command_queue_properties/c).
procedure
(clGetCommandQueueInfo:generic command_queue param_name) → clGetCommandQueueInfo/c command_queue : _cl_command_queue/c param_name : _cl_command_queue_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetCommandQueueInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
procedure
(clSetCommandQueueProperty cq properties enable) → _cl_command_queue_properties/c cq : _cl_command_queue/c properties : _cl_command_queue_properties/c enable : _cl_bool/c