On this page:
_ cl_ bool
_ cl_ bool/ c
valid-bools
_ cl_ platform_ id
_ cl_ platform_ id/ c
_ cl_ platform_ id/ null/ c
_ cl_ platform_ id_ vector/ c
_ cl_ platform_ info
_ cl_ platform_ info/ c
valid-platform-infos
_ cl_ device_ id
_ cl_ device_ id/ c
_ cl_ device_ id/ null/ c
_ cl_ device_ id_ vector/ c
_ cl_ device_ type
_ cl_ device_ type/ c
valid-device-types
_ cl_ device_ info
_ cl_ device_ info/ c
valid-device-infos
_ cl_ device_ fp_ config
_ cl_ device_ fp_ config/ c
valid-device-fp-config
_ cl_ device_ mem_ cache_ type
_ cl_ device_ mem_ cache_ type/ c
valid-device-mem-cache-types
_ cl_ device_ local_ mem_ type
_ cl_ device_ local_ mem_ type/ c
valid-device-local-mem-types
_ cl_ device_ exec_ capabilities
_ cl_ device_ exec_ capabilities/ c
valid-device-exec-capabilities
_ cl_ context
_ cl_ context/ c
_ cl_ context/ null/ c
_ cl_ context_ vector/ c
_ cl_ command_ queue_ properties
_ cl_ command_ queue_ properties/ c
valid-command-queue-properties
_ cl_ command_ queue
_ cl_ command_ queue/ c
_ cl_ command_ queue/ null/ c
_ cl_ command_ queue_ vector/ c
_ cl_ mem_ flags
_ cl_ mem_ flags/ c
valid-mem-flags
_ cl_ mem
_ cl_ mem/ c
_ cl_ mem/ null/ c
_ cl_ mem_ vector/ c
_ cl_ event
_ cl_ event/ c
_ cl_ event/ null/ c
_ cl_ event_ vector/ c
_ cl_ channel_ order
_ cl_ channel_ order/ c
valid-channel-orders
_ cl_ channel_ type
_ cl_ channel_ type/ c
valid-channel-types
_ cl_ mem_ object_ type
_ cl_ mem_ object_ type/ c
valid-mem-object-types
_ cl_ map_ flags
_ cl_ map_ flags/ c
valid-map-flags
_ cl_ sampler
_ cl_ sampler/ c
_ cl_ sampler/ null/ c
_ cl_ sampler_ vector/ c
_ cl_ addressing_ mode
_ cl_ addressing_ mode/ c
valid-addressing-modes
_ cl_ filter_ mode
_ cl_ filter_ mode/ c
valid-filter-modes
_ cl_ program
_ cl_ program/ c
_ cl_ program/ null/ c
_ cl_ program_ vector/ c
_ cl_ kernel
_ cl_ kernel/ c
_ cl_ kernel/ null/ c
_ cl_ kernel_ vector/ c
system-platform-count
cl Get Platform IDs
system-platforms
cl Get Platform Info
platform-info-length
cl Get Platform Info: _ char*
platform-info
platform-device-count
cl Get Device IDs
platform-devices
cl Get Device Info
device-info-length
cl Get Device Info: _ cl_ device_ type
cl Get Device Info: _ cl_ uint
cl Get Device Info: _ size_ t
cl Get Device Info: _ cl_ ulong
cl Get Device Info: _ cl_ bool
cl Get Device Info: _ cl_ device_ fp_ config
cl Get Device Info: _ cl_ device_ mem_ cache_ type
cl Get Device Info: _ cl_ device_ local_ mem_ type
cl Get Device Info: _ cl_ device_ exec_ capabilities
cl Get Device Info: _ cl_ command_ queue_ properties
cl Get Device Info: _ cl_ platform_ id
cl Get Device Info: _ size_ t*
cl Get Device Info: _ char*
device-info
_ cl_ context_ info
_ cl_ context_ info/ c
valid-context-infos
cl Get Context Info
context-info-length
cl Get Context Info: _ cl_ uint
cl Get Context Info: _ cl_ device_ id*
cl Get Context Info: _ cl_ context_ properties*
context-info
_ cl_ command_ queue_ info
_ cl_ command_ queue_ info/ c
valid-command-queue-infos
cl Get Command Queue Info
command-queue-info-length
cl Get Command Queue Info: _ cl_ context
cl Get Command Queue Info: _ cl_ device_ id
cl Get Command Queue Info: _ cl_ uint
cl Get Command Queue Info: _ cl_ command_ queue_ properties
command-queue-info
context-supported-image-formats-count
cl Get Supported Image Formats
context-supported-image-formats
_ cl_ mem_ info
_ cl_ mem_ info/ c
valid-mem-infos
cl Get Mem Object Info
memobj-info-length
cl Get Mem Object Info: _ cl_ mem_ object_ type
cl Get Mem Object Info: _ cl_ mem_ flags
cl Get Mem Object Info: _ size_ t
cl Get Mem Object Info: _ void*
cl Get Mem Object Info: _ cl_ uint
cl Get Mem Object Info: _ cl_ context
memobj-info
_ cl_ image_ info
_ cl_ image_ info/ c
valid-image-infos
cl Get Image Info
image-info-length
cl Get Image Info: _ cl_ image_ format
cl Get Image Info: _ size_ t
image-info
_ cl_ sampler_ info
_ cl_ sampler_ info/ c
valid-sampler-infos
cl Get Sampler Info
sampler-info-length
cl Get Sampler Info: _ cl_ uint
cl Get Sampler Info: _ cl_ context
cl Get Sampler Info: _ cl_ addressing_ mode
cl Get Sampler Info: _ cl_ filter_ mode
cl Get Sampler Info: _ cl_ bool
sampler-info
_ cl_ program_ info
_ cl_ program_ info/ c
valid-program-infos
cl Get Program Info
program-info-length
cl Get Program Info: _ cl_ uint
cl Get Program Info: _ cl_ context
cl Get Program Info: _ cl_ device_ id*
cl Get Program Info: _ char*
cl Get Program Info: _ size_ t*
program-info
_ cl_ program_ build_ info
_ cl_ program_ build_ info/ c
valid-program-build-infos
_ cl_ build_ status
_ cl_ build_ status/ c
valid-build-statuses
cl Get Program Build Info
program-build-info-length
cl Get Program Build Info: _ cl_ build_ status
cl Get Program Build Info: _ char*
program-build-info
program-kernels-count
cl Create Kernels In Program
program-kernels
_ cl_ kernel_ info
_ cl_ kernel_ info/ c
valid-kernel-infos
cl Get Kernel Info
kernel-info-length
cl Get Kernel Info: _ cl_ uint
cl Get Kernel Info: _ cl_ context
cl Get Kernel Info: _ cl_ program
cl Get Kernel Info: _ char*
kernel-info
_ cl_ kernel_ work_ group_ info
_ cl_ kernel_ work_ group_ info/ c
valid-kernel-work-group-infos
cl Get Kernel Work Group Info
kernel-work-group-info-length
cl Get Kernel Work Group Info: _ size_ t
cl Get Kernel Work Group Info: _ cl_ ulong
cl Get Kernel Work Group Info: _ size_ t*
kernel-work-group-info
_ cl_ event_ info
_ cl_ event_ info/ c
valid-event-infos
_ cl_ command_ type
_ cl_ command_ type/ c
valid-command-types
_ command_ execution_ status
_ command_ execution_ status/ c
valid-command-execution-statuses
cl Get Event Info
event-info-length
cl Get Event Info: _ cl_ command_ queue
cl Get Event Info: _ cl_ command_ type
cl Get Event Info: _ command_ execution_ status
cl Get Event Info: _ cl_ uint
event-info
_ cl_ profiling_ info
_ cl_ profiling_ info/ c
valid-profiling-infos
cl Get Event Profiling Info
event-profiling-info-length
cl Get Event Profiling Info: _ cl_ ulong
event-profiling-info

1 API Reference

 (require (planet jaymccarthy/opencl:1:1/ffi))

_cl_bool : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-bools are the valid values.
_cl_bool/c : contract?
A contract for _cl_bool that accepts any symbol in valid-bools.
valid-bools : (listof symbol?)
A list of valid options for _cl_bool. Its value is '(CL_FALSE CL_TRUE).
_cl_platform_id : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_platform_id/c : contract?
A contract for _cl_platform_id values.
_cl_platform_id/null/c : contract?
A contract for _cl_platform_id values that includes NULL pointers, represented by #f.
_cl_platform_id_vector/c : contract?
A contract for cvectors of _cl_platform_id values.
_cl_platform_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-platform-infos are the valid values.
_cl_platform_info/c : contract?
A contract for _cl_platform_info that accepts any symbol in valid-platform-infos.
valid-platform-infos : (listof symbol?)
A list of valid options for _cl_platform_info. Its value is '(CL_PLATFORM_PROFILE CL_PLATFORM_VERSION CL_PLATFORM_NAME CL_PLATFORM_VENDOR CL_PLATFORM_EXTENSIONS).
_cl_device_id : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_device_id/c : contract?
A contract for _cl_device_id values.
_cl_device_id/null/c : contract?
A contract for _cl_device_id values that includes NULL pointers, represented by #f.
_cl_device_id_vector/c : contract?
A contract for cvectors of _cl_device_id values.
_cl_device_type : ctype?
A ctype that represents an OpenCL bitfield where valid-device-types are the valid flags. It is actually a cl_bitfield.
_cl_device_type/c : contract?
A contract for _cl_device_type that accepts any symbol in valid-device-types or lists containing subsets of valid-device-types.
valid-device-types : (listof symbol?)
A list of valid options for _cl_device_type. Its value is '(CL_DEVICE_TYPE_CPU CL_DEVICE_TYPE_GPU CL_DEVICE_TYPE_ACCELERATOR CL_DEVICE_TYPE_DEFAULT CL_DEVICE_TYPE_ALL).
_cl_device_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-device-infos are the valid values.
_cl_device_info/c : contract?
A contract for _cl_device_info that accepts any symbol in valid-device-infos.
valid-device-infos : (listof symbol?)
A list of valid options for _cl_device_info. Its value is '(CL_DEVICE_TYPE CL_DEVICE_VENDOR_ID CL_DEVICE_MAX_COMPUTE_UNITS CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS CL_DEVICE_MAX_WORK_GROUP_SIZE CL_DEVICE_MAX_WORK_ITEM_SIZES CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE CL_DEVICE_MAX_CLOCK_FREQUENCY CL_DEVICE_ADDRESS_BITS CL_DEVICE_MAX_READ_IMAGE_ARGS CL_DEVICE_MAX_WRITE_IMAGE_ARGS CL_DEVICE_MAX_MEM_ALLOC_SIZE CL_DEVICE_IMAGE2D_MAX_WIDTH CL_DEVICE_IMAGE2D_MAX_HEIGHT CL_DEVICE_IMAGE3D_MAX_WIDTH CL_DEVICE_IMAGE3D_MAX_HEIGHT CL_DEVICE_IMAGE3D_MAX_DEPTH CL_DEVICE_IMAGE_SUPPORT CL_DEVICE_MAX_PARAMETER_SIZE CL_DEVICE_MAX_SAMPLERS CL_DEVICE_MEM_BASE_ADDR_ALIGN CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE CL_DEVICE_SINGLE_FP_CONFIG CL_DEVICE_GLOBAL_MEM_CACHE_TYPE CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE CL_DEVICE_GLOBAL_MEM_CACHE_SIZE CL_DEVICE_GLOBAL_MEM_SIZE CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE CL_DEVICE_MAX_CONSTANT_ARGS CL_DEVICE_LOCAL_MEM_TYPE CL_DEVICE_LOCAL_MEM_SIZE CL_DEVICE_ERROR_CORRECTION_SUPPORT CL_DEVICE_PROFILING_TIMER_RESOLUTION CL_DEVICE_ENDIAN_LITTLE CL_DEVICE_AVAILABLE CL_DEVICE_COMPILER_AVAILABLE CL_DEVICE_EXECUTION_CAPABILITIES CL_DEVICE_QUEUE_PROPERTIES CL_DEVICE_NAME CL_DEVICE_VENDOR CL_DRIVER_VERSION CL_DEVICE_PROFILE CL_DEVICE_VERSION CL_DEVICE_EXTENSIONS CL_DEVICE_PLATFORM).
_cl_device_fp_config : ctype?
A ctype that represents an OpenCL bitfield where valid-device-fp-config are the valid flags. It is actually a cl_bitfield.
_cl_device_fp_config/c : contract?
A contract for _cl_device_fp_config that accepts any symbol in valid-device-fp-config or lists containing subsets of valid-device-fp-config.
valid-device-fp-config : (listof symbol?)
A list of valid options for _cl_device_fp_config. Its value is '(CL_FP_DENORM CL_FP_INF_NAN CL_FP_ROUND_TO_NEAREST CL_FP_ROUND_TO_ZERO CL_FP_ROUND_TO_INF CL_FP_FMA).
_cl_device_mem_cache_type : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-device-mem-cache-types are the valid values.
_cl_device_mem_cache_type/c : contract?
A contract for _cl_device_mem_cache_type that accepts any symbol in valid-device-mem-cache-types.
valid-device-mem-cache-types : (listof symbol?)
A list of valid options for _cl_device_mem_cache_type. Its value is '(CL_NONE CL_READ_ONLY_CACHE CL_READ_WRITE_CACHE).
_cl_device_local_mem_type : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-device-local-mem-types are the valid values.
_cl_device_local_mem_type/c : contract?
A contract for _cl_device_local_mem_type that accepts any symbol in valid-device-local-mem-types.
valid-device-local-mem-types : (listof symbol?)
A list of valid options for _cl_device_local_mem_type. Its value is '(CL_LOCAL CL_GLOBAL).
_cl_device_exec_capabilities : ctype?
A ctype that represents an OpenCL bitfield where valid-device-exec-capabilities are the valid flags. It is actually a cl_bitfield.
_cl_device_exec_capabilities/c : contract?
A contract for _cl_device_exec_capabilities that accepts any symbol in valid-device-exec-capabilities or lists containing subsets of valid-device-exec-capabilities.
valid-device-exec-capabilities : (listof symbol?)
A list of valid options for _cl_device_exec_capabilities. Its value is '(CL_EXEC_KERNEL CL_EXEC_NATIVE_KERNEL).
_cl_context : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_context/c : contract?
A contract for _cl_context values.
_cl_context/null/c : contract?
A contract for _cl_context values that includes NULL pointers, represented by #f.
_cl_context_vector/c : contract?
A contract for cvectors of _cl_context values.
_cl_command_queue_properties : ctype?
A ctype that represents an OpenCL bitfield where valid-command-queue-properties are the valid flags. It is actually a cl_bitfield.
_cl_command_queue_properties/c : contract?
A contract for _cl_command_queue_properties that accepts any symbol in valid-command-queue-properties or lists containing subsets of valid-command-queue-properties.
valid-command-queue-properties : (listof symbol?)
A list of valid options for _cl_command_queue_properties. Its value is '(CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE CL_QUEUE_PROFILING_ENABLE).
_cl_command_queue : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_command_queue/c : contract?
A contract for _cl_command_queue values.
_cl_command_queue/null/c : contract?
A contract for _cl_command_queue values that includes NULL pointers, represented by #f.
_cl_command_queue_vector/c : contract?
A contract for cvectors of _cl_command_queue values.
_cl_mem_flags : ctype?
A ctype that represents an OpenCL bitfield where valid-mem-flags are the valid flags. It is actually a cl_bitfield.
_cl_mem_flags/c : contract?
A contract for _cl_mem_flags that accepts any symbol in valid-mem-flags or lists containing subsets of valid-mem-flags.
valid-mem-flags : (listof symbol?)
A list of valid options for _cl_mem_flags. Its value is '(CL_MEM_READ_WRITE CL_MEM_WRITE_ONLY CL_MEM_READ_ONLY CL_MEM_USE_HOST_PTR CL_MEM_ALLOC_HOST_PTR CL_MEM_COPY_HOST_PTR).
_cl_mem : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_mem/c : contract?
A contract for _cl_mem values.
_cl_mem/null/c : contract?
A contract for _cl_mem values that includes NULL pointers, represented by #f.
_cl_mem_vector/c : contract?
A contract for cvectors of _cl_mem values.
_cl_event : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_event/c : contract?
A contract for _cl_event values.
_cl_event/null/c : contract?
A contract for _cl_event values that includes NULL pointers, represented by #f.
_cl_event_vector/c : contract?
A contract for cvectors of _cl_event values.
_cl_channel_order : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-channel-orders are the valid values.
_cl_channel_order/c : contract?
A contract for _cl_channel_order that accepts any symbol in valid-channel-orders.
valid-channel-orders : (listof symbol?)
A list of valid options for _cl_channel_order. Its value is '(CL_R CL_A CL_INTENSITY CL_LUMINANCE CL_RG CL_RA CL_RGB CL_RGBA CL_ARGB CL_BGRA).
_cl_channel_type : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-channel-types are the valid values.
_cl_channel_type/c : contract?
A contract for _cl_channel_type that accepts any symbol in valid-channel-types.
valid-channel-types : (listof symbol?)
A list of valid options for _cl_channel_type. Its value is '(CL_SNORM_INT8 CL_SNORM_INT16 CL_UNORM_INT8 CL_UNORM_INT16 CL_UNORM_SHORT_565 CL_UNORM_SHORT_555 CL_UNORM_INT_101010 CL_SIGNED_INT8 CL_SIGNED_INT16 CL_SIGNED_INT32 CL_UNSIGNED_INT8 CL_UNSIGNED_INT16 CL_UNSIGNED_INT32 CL_HALF_FLOAT CL_FLOAT).
_cl_mem_object_type : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-mem-object-types are the valid values.
_cl_mem_object_type/c : contract?
A contract for _cl_mem_object_type that accepts any symbol in valid-mem-object-types.
valid-mem-object-types : (listof symbol?)
A list of valid options for _cl_mem_object_type. Its value is '(CL_MEM_OBJECT_IMAGE2D CL_MEM_OBJECT_IMAGE3D).
_cl_map_flags : ctype?
A ctype that represents an OpenCL bitfield where valid-map-flags are the valid flags. It is actually a cl_bitfield.
_cl_map_flags/c : contract?
A contract for _cl_map_flags that accepts any symbol in valid-map-flags or lists containing subsets of valid-map-flags.
valid-map-flags : (listof symbol?)
A list of valid options for _cl_map_flags. Its value is '(CL_MAP_READ CL_MAP_WRITE).
_cl_sampler : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_sampler/c : contract?
A contract for _cl_sampler values.
_cl_sampler/null/c : contract?
A contract for _cl_sampler values that includes NULL pointers, represented by #f.
_cl_sampler_vector/c : contract?
A contract for cvectors of _cl_sampler values.
_cl_addressing_mode : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-addressing-modes are the valid values.
_cl_addressing_mode/c : contract?
A contract for _cl_addressing_mode that accepts any symbol in valid-addressing-modes.
valid-addressing-modes : (listof symbol?)
A list of valid options for _cl_addressing_mode. Its value is '(CL_ADDRESS_REPEAT CL_ADDRESS_CLAMP_TO_EDGE CL_ADDRESS_CLAMP CL_ADDRESS_NONE).
_cl_filter_mode : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-filter-modes are the valid values.
_cl_filter_mode/c : contract?
A contract for _cl_filter_mode that accepts any symbol in valid-filter-modes.
valid-filter-modes : (listof symbol?)
A list of valid options for _cl_filter_mode. Its value is '(CL_FILTER_NEAREST CL_FILTER_LINEAR).
_cl_program : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_program/c : contract?
A contract for _cl_program values.
_cl_program/null/c : contract?
A contract for _cl_program values that includes NULL pointers, represented by #f.
_cl_program_vector/c : contract?
A contract for cvectors of _cl_program values.
_cl_kernel : ctype?
Represents a pointer to a particular kind of OpenCL object.
_cl_kernel/c : contract?
A contract for _cl_kernel values.
_cl_kernel/null/c : contract?
A contract for _cl_kernel values that includes NULL pointers, represented by #f.
_cl_kernel_vector/c : contract?
A contract for cvectors of _cl_kernel values.
(system-platform-count)  cl_uint/c
Returns how many results clGetPlatformIDs may return for these arguments.
(clGetPlatformIDs how-many)
  
_cl_platform_id_vector/c cl_uint/c
  how-many : cl_uint/c
Returns the minimum of how-many and how-many-possible values in rets.
(system-platforms)  _cl_platform_id_vector/c
Returns all possible results from clGetPlatformIDs using system-platform-count to extract the number available.
clGetPlatformInfo : procedure?
A dummy Scheme function that refers callers to the other clGetPlatformInfo-based functions which access the true C function.
(platform-info-length platform param_name)  size_t/c
  platform : _cl_platform_id/null/c
  param_name : _cl_platform_info/c
Returns the size of param_name field of the argument(s). Calls clGetPlatformInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetPlatformInfo:_char* platform    
  param_name    
  param_value_size)  bytes?
  platform : _cl_platform_id/null/c
  param_name : _cl_platform_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetPlatformInfo with param_value_size passed explicitly. Use platform-info-length to find the maximum value. Valid param_names are '(CL_PLATFORM_PROFILE CL_PLATFORM_VERSION CL_PLATFORM_NAME CL_PLATFORM_VENDOR CL_PLATFORM_EXTENSIONS).
(platform-info platform param_name)  any/c
  platform : _cl_platform_id/null/c
  param_name : _cl_platform_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetPlatformInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
(platform-device-count platform    
  device_type)  cl_uint/c
  platform : _cl_platform_id/null/c
  device_type : _cl_device_type/c
Returns how many results clGetDeviceIDs may return for these arguments.
(clGetDeviceIDs platform    
  device_type    
  how-many)  
_cl_device_id_vector/c cl_uint/c
  platform : _cl_platform_id/null/c
  device_type : _cl_device_type/c
  how-many : cl_uint/c
Returns the minimum of how-many and how-many-possible values in rets.
(platform-devices platform device_type)  _cl_device_id_vector/c
  platform : _cl_platform_id/null/c
  device_type : _cl_device_type/c
Returns all possible results from clGetDeviceIDs using platform-device-count to extract the number available.
clGetDeviceInfo : procedure?
A dummy Scheme function that refers callers to the other clGetDeviceInfo-based functions which access the true C function.
(device-info-length device param_name)  size_t/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the size of param_name field of the argument(s). Calls clGetDeviceInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetDeviceInfo:_cl_device_type device 
  param_name) 
  _cl_device_type/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_device_type) so that the value is queried. Valid param_names are '(CL_DEVICE_TYPE).
(clGetDeviceInfo:_cl_uint device    
  param_name)  cl_uint/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof cl_uint) so that the value is queried. Valid param_names are '(CL_DEVICE_VENDOR_ID CL_DEVICE_MAX_COMPUTE_UNITS CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE CL_DEVICE_MAX_CLOCK_FREQUENCY CL_DEVICE_ADDRESS_BITS CL_DEVICE_MAX_READ_IMAGE_ARGS CL_DEVICE_MAX_WRITE_IMAGE_ARGS CL_DEVICE_MAX_SAMPLERS CL_DEVICE_MEM_BASE_ADDR_ALIGN CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE).
(clGetDeviceInfo:_size_t device param_name)  size_t/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof size_t) so that the value is queried. Valid param_names are '(CL_DEVICE_MAX_WORK_GROUP_SIZE CL_DEVICE_IMAGE2D_MAX_WIDTH CL_DEVICE_IMAGE2D_MAX_HEIGHT CL_DEVICE_IMAGE3D_MAX_WIDTH CL_DEVICE_IMAGE3D_MAX_HEIGHT CL_DEVICE_IMAGE3D_MAX_DEPTH CL_DEVICE_MAX_PARAMETER_SIZE CL_DEVICE_MAX_CONSTANT_ARGS CL_DEVICE_PROFILING_TIMER_RESOLUTION).
(clGetDeviceInfo:_cl_ulong device    
  param_name)  cl_ulong/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof cl_ulong) so that the value is queried. Valid param_names are '(CL_DEVICE_MAX_MEM_ALLOC_SIZE CL_DEVICE_GLOBAL_MEM_CACHE_SIZE CL_DEVICE_GLOBAL_MEM_SIZE CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE CL_DEVICE_LOCAL_MEM_SIZE).
(clGetDeviceInfo:_cl_bool device    
  param_name)  _cl_bool/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_bool) so that the value is queried. Valid param_names are '(CL_DEVICE_IMAGE_SUPPORT CL_DEVICE_ERROR_CORRECTION_SUPPORT CL_DEVICE_ENDIAN_LITTLE CL_DEVICE_AVAILABLE CL_DEVICE_COMPILER_AVAILABLE).
(clGetDeviceInfo:_cl_device_fp_config device 
  param_name) 
  _cl_device_fp_config/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_device_fp_config) so that the value is queried. Valid param_names are '(CL_DEVICE_SINGLE_FP_CONFIG).
(clGetDeviceInfo:_cl_device_mem_cache_type device 
  param_name) 
  _cl_device_mem_cache_type/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_device_mem_cache_type) so that the value is queried. Valid param_names are '(CL_DEVICE_GLOBAL_MEM_CACHE_TYPE).
(clGetDeviceInfo:_cl_device_local_mem_type device 
  param_name) 
  _cl_device_local_mem_type/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_device_local_mem_type) so that the value is queried. Valid param_names are '(CL_DEVICE_LOCAL_MEM_TYPE).
(clGetDeviceInfo:_cl_device_exec_capabilities device 
  param_name) 
  _cl_device_exec_capabilities/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_device_exec_capabilities) so that the value is queried. Valid param_names are '(CL_DEVICE_EXECUTION_CAPABILITIES).
(clGetDeviceInfo:_cl_command_queue_properties device 
  param_name) 
  _cl_command_queue_properties/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_command_queue_properties) so that the value is queried. Valid param_names are '(CL_DEVICE_QUEUE_PROPERTIES).
(clGetDeviceInfo:_cl_platform_id device 
  param_name) 
  _cl_platform_id/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size set to (ctype-sizeof _cl_platform_id) so that the value is queried. Valid param_names are '(CL_DEVICE_PLATFORM).
(clGetDeviceInfo:_size_t* device    
  param_name    
  param_value_size)  size_t_vector/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size passed explicitly. Use device-info-length to find the maximum value. Valid param_names are '(CL_DEVICE_MAX_WORK_ITEM_SIZES).
(clGetDeviceInfo:_char* device    
  param_name    
  param_value_size)  bytes?
  device : _cl_device_id/c
  param_name : _cl_device_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetDeviceInfo with param_value_size passed explicitly. Use device-info-length to find the maximum value. Valid param_names are '(CL_DEVICE_NAME CL_DEVICE_VENDOR CL_DRIVER_VERSION CL_DEVICE_PROFILE CL_DEVICE_VERSION CL_DEVICE_EXTENSIONS).
(device-info device param_name)  any/c
  device : _cl_device_id/c
  param_name : _cl_device_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetDeviceInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_context_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-context-infos are the valid values.
_cl_context_info/c : contract?
A contract for _cl_context_info that accepts any symbol in valid-context-infos.
valid-context-infos : (listof symbol?)
A list of valid options for _cl_context_info. Its value is '(CL_CONTEXT_REFERENCE_COUNT CL_CONTEXT_DEVICES CL_CONTEXT_PROPERTIES).
clGetContextInfo : procedure?
A dummy Scheme function that refers callers to the other clGetContextInfo-based functions which access the true C function.
(context-info-length context param_name)  size_t/c
  context : _cl_context/c
  param_name : _cl_context_info/c
Returns the size of param_name field of the argument(s). Calls clGetContextInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetContextInfo:_cl_uint context    
  param_name)  cl_uint/c
  context : _cl_context/c
  param_name : _cl_context_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetContextInfo with param_value_size set to (ctype-sizeof cl_uint) so that the value is queried. Valid param_names are '(CL_CONTEXT_REFERENCE_COUNT).
(clGetContextInfo:_cl_device_id* context 
  param_name 
  param_value_size) 
  _cl_device_id_vector/c
  context : _cl_context/c
  param_name : _cl_context_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetContextInfo with param_value_size passed explicitly. Use context-info-length to find the maximum value. Valid param_names are '(CL_CONTEXT_DEVICES).
(clGetContextInfo:_cl_context_properties* context 
  param_name 
  param_value_size) 
  cl_context_properties_vector/c
  context : _cl_context/c
  param_name : _cl_context_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetContextInfo with param_value_size passed explicitly. Use context-info-length to find the maximum value. Valid param_names are '(CL_CONTEXT_PROPERTIES).
(context-info context param_name)  any/c
  context : _cl_context/c
  param_name : _cl_context_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetContextInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_command_queue_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-command-queue-infos are the valid values.
_cl_command_queue_info/c : contract?
A contract for _cl_command_queue_info that accepts any symbol in valid-command-queue-infos.
valid-command-queue-infos : (listof symbol?)
A list of valid options for _cl_command_queue_info. Its value is '(CL_QUEUE_CONTEXT CL_QUEUE_DEVICE CL_QUEUE_REFERENCE_COUNT CL_QUEUE_PROPERTIES).
clGetCommandQueueInfo : procedure?
A dummy Scheme function that refers callers to the other clGetCommandQueueInfo-based functions which access the true C function.
(command-queue-info-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.
(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).
(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).
(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).
(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).
(command-queue-info command_queue    
  param_name)  any/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.
(context-supported-image-formats-count context    
  flags    
  image_type)  cl_uint/c
  context : _cl_context/c
  flags : _cl_mem_flags/c
  image_type : _cl_mem_object_type/c
Returns how many results clGetSupportedImageFormats may return for these arguments.
(clGetSupportedImageFormats context 
  flags 
  image_type 
  how-many) 
  
cl_image_format_vector/c cl_uint/c
  context : _cl_context/c
  flags : _cl_mem_flags/c
  image_type : _cl_mem_object_type/c
  how-many : cl_uint/c
Returns the minimum of how-many and how-many-possible values in rets.
(context-supported-image-formats context 
  flags 
  image_type) 
  cl_image_format_vector/c
  context : _cl_context/c
  flags : _cl_mem_flags/c
  image_type : _cl_mem_object_type/c
Returns all possible results from clGetSupportedImageFormats using context-supported-image-formats-count to extract the number available.
_cl_mem_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-mem-infos are the valid values.
_cl_mem_info/c : contract?
A contract for _cl_mem_info that accepts any symbol in valid-mem-infos.
valid-mem-infos : (listof symbol?)
A list of valid options for _cl_mem_info. Its value is '(CL_MEM_TYPE CL_MEM_FLAGS CL_MEM_SIZE CL_MEM_HOST_PTR CL_MEM_MAP_COUNT CL_MEM_REFERENCE_COUNT CL_MEM_CONTEXT).
clGetMemObjectInfo : procedure?
A dummy Scheme function that refers callers to the other clGetMemObjectInfo-based functions which access the true C function.
(memobj-info-length memobj param_name)  size_t/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the size of param_name field of the argument(s). Calls clGetMemObjectInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetMemObjectInfo:_cl_mem_object_type memobj 
  param_name) 
  _cl_mem_object_type/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetMemObjectInfo with param_value_size set to (ctype-sizeof _cl_mem_object_type) so that the value is queried. Valid param_names are '(CL_MEM_TYPE).
(clGetMemObjectInfo:_cl_mem_flags memobj    
  param_name)  _cl_mem_flags/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetMemObjectInfo with param_value_size set to (ctype-sizeof _cl_mem_flags) so that the value is queried. Valid param_names are '(CL_MEM_FLAGS).
(clGetMemObjectInfo:_size_t memobj    
  param_name)  size_t/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetMemObjectInfo with param_value_size set to (ctype-sizeof size_t) so that the value is queried. Valid param_names are '(CL_MEM_SIZE).
(clGetMemObjectInfo:_void* memobj    
  param_name)  void*/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetMemObjectInfo with param_value_size set to (ctype-sizeof void*) so that the value is queried. Valid param_names are '(CL_MEM_HOST_PTR).
(clGetMemObjectInfo:_cl_uint memobj    
  param_name)  cl_uint/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetMemObjectInfo with param_value_size set to (ctype-sizeof cl_uint) so that the value is queried. Valid param_names are '(CL_MEM_MAP_COUNT CL_MEM_REFERENCE_COUNT).
(clGetMemObjectInfo:_cl_context memobj    
  param_name)  _cl_context/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetMemObjectInfo with param_value_size set to (ctype-sizeof _cl_context) so that the value is queried. Valid param_names are '(CL_MEM_CONTEXT).
(memobj-info memobj param_name)  any/c
  memobj : _cl_mem/c
  param_name : _cl_mem_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetMemObjectInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_image_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-image-infos are the valid values.
_cl_image_info/c : contract?
A contract for _cl_image_info that accepts any symbol in valid-image-infos.
valid-image-infos : (listof symbol?)
A list of valid options for _cl_image_info. Its value is '(CL_IMAGE_FORMAT CL_IMAGE_ELEMENT_SIZE CL_IMAGE_ROW_PITCH CL_IMAGE_SLICE_PITCH CL_IMAGE_WIDTH CL_IMAGE_HEIGHT CL_IMAGE_DEPTH).
clGetImageInfo : procedure?
A dummy Scheme function that refers callers to the other clGetImageInfo-based functions which access the true C function.
(image-info-length memobj param_name)  size_t/c
  memobj : _cl_mem/c
  param_name : _cl_image_info/c
Returns the size of param_name field of the argument(s). Calls clGetImageInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetImageInfo:_cl_image_format memobj 
  param_name) 
  cl_image_format/c
  memobj : _cl_mem/c
  param_name : _cl_image_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetImageInfo with param_value_size set to (ctype-sizeof cl_image_format) so that the value is queried. Valid param_names are '(CL_IMAGE_FORMAT).
(clGetImageInfo:_size_t memobj param_name)  size_t/c
  memobj : _cl_mem/c
  param_name : _cl_image_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetImageInfo with param_value_size set to (ctype-sizeof size_t) so that the value is queried. Valid param_names are '(CL_IMAGE_ELEMENT_SIZE CL_IMAGE_ROW_PITCH CL_IMAGE_SLICE_PITCH CL_IMAGE_WIDTH CL_IMAGE_HEIGHT CL_IMAGE_DEPTH).
(image-info memobj param_name)  any/c
  memobj : _cl_mem/c
  param_name : _cl_image_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetImageInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_sampler_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-sampler-infos are the valid values.
_cl_sampler_info/c : contract?
A contract for _cl_sampler_info that accepts any symbol in valid-sampler-infos.
valid-sampler-infos : (listof symbol?)
A list of valid options for _cl_sampler_info. Its value is '(CL_SAMPLER_REFERENCE_COUNT CL_SAMPLER_CONTEXT CL_SAMPLER_ADDRESSING_MODE CL_SAMPLER_FILTER_MODE CL_SAMPLER_NORMALIZED_COORDS).
clGetSamplerInfo : procedure?
A dummy Scheme function that refers callers to the other clGetSamplerInfo-based functions which access the true C function.
(sampler-info-length sampler param_name)  size_t/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the size of param_name field of the argument(s). Calls clGetSamplerInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetSamplerInfo:_cl_uint sampler    
  param_name)  cl_uint/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof cl_uint) so that the value is queried. Valid param_names are '(CL_SAMPLER_REFERENCE_COUNT).
(clGetSamplerInfo:_cl_context sampler    
  param_name)  _cl_context/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_context) so that the value is queried. Valid param_names are '(CL_SAMPLER_CONTEXT).
(clGetSamplerInfo:_cl_addressing_mode sampler 
  param_name) 
  _cl_addressing_mode/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_addressing_mode) so that the value is queried. Valid param_names are '(CL_SAMPLER_ADDRESSING_MODE).
(clGetSamplerInfo:_cl_filter_mode sampler 
  param_name) 
  _cl_filter_mode/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_filter_mode) so that the value is queried. Valid param_names are '(CL_SAMPLER_FILTER_MODE).
(clGetSamplerInfo:_cl_bool sampler    
  param_name)  _cl_bool/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_bool) so that the value is queried. Valid param_names are '(CL_SAMPLER_NORMALIZED_COORDS).
(sampler-info sampler param_name)  any/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetSamplerInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_program_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-program-infos are the valid values.
_cl_program_info/c : contract?
A contract for _cl_program_info that accepts any symbol in valid-program-infos.
valid-program-infos : (listof symbol?)
A list of valid options for _cl_program_info. Its value is '(CL_PROGRAM_REFERENCE_COUNT CL_PROGRAM_CONTEXT CL_PROGRAM_NUM_DEVICES CL_PROGRAM_DEVICES CL_PROGRAM_SOURCE CL_PROGRAM_BINARY_SIZES).
clGetProgramInfo : procedure?
A dummy Scheme function that refers callers to the other clGetProgramInfo-based functions which access the true C function.
(program-info-length program param_name)  size_t/c
  program : _cl_program/c
  param_name : _cl_program_info/c
Returns the size of param_name field of the argument(s). Calls clGetProgramInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetProgramInfo:_cl_uint program    
  param_name)  cl_uint/c
  program : _cl_program/c
  param_name : _cl_program_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetProgramInfo with param_value_size set to (ctype-sizeof cl_uint) so that the value is queried. Valid param_names are '(CL_PROGRAM_REFERENCE_COUNT CL_PROGRAM_NUM_DEVICES).
(clGetProgramInfo:_cl_context program    
  param_name)  _cl_context/c
  program : _cl_program/c
  param_name : _cl_program_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetProgramInfo with param_value_size set to (ctype-sizeof _cl_context) so that the value is queried. Valid param_names are '(CL_PROGRAM_CONTEXT).
(clGetProgramInfo:_cl_device_id* program 
  param_name 
  param_value_size) 
  _cl_device_id_vector/c
  program : _cl_program/c
  param_name : _cl_program_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetProgramInfo with param_value_size passed explicitly. Use program-info-length to find the maximum value. Valid param_names are '(CL_PROGRAM_DEVICES).
(clGetProgramInfo:_char* program    
  param_name    
  param_value_size)  bytes?
  program : _cl_program/c
  param_name : _cl_program_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetProgramInfo with param_value_size passed explicitly. Use program-info-length to find the maximum value. Valid param_names are '(CL_PROGRAM_SOURCE).
(clGetProgramInfo:_size_t* program    
  param_name    
  param_value_size)  size_t_vector/c
  program : _cl_program/c
  param_name : _cl_program_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetProgramInfo with param_value_size passed explicitly. Use program-info-length to find the maximum value. Valid param_names are '(CL_PROGRAM_BINARY_SIZES).
(program-info program param_name)  any/c
  program : _cl_program/c
  param_name : _cl_program_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetProgramInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_program_build_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-program-build-infos are the valid values.
_cl_program_build_info/c : contract?
A contract for _cl_program_build_info that accepts any symbol in valid-program-build-infos.
valid-program-build-infos : (listof symbol?)
A list of valid options for _cl_program_build_info. Its value is '(CL_PROGRAM_BUILD_STATUS CL_PROGRAM_BUILD_OPTIONS CL_PROGRAM_BUILD_LOG).
_cl_build_status : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_int, where valid-build-statuses are the valid values.
_cl_build_status/c : contract?
A contract for _cl_build_status that accepts any symbol in valid-build-statuses.
valid-build-statuses : (listof symbol?)
A list of valid options for _cl_build_status. Its value is '(CL_BUILD_NONE CL_BUILD_ERROR CL_BUILD_SUCCESS CL_BUILD_IN_PROGRESS).
clGetProgramBuildInfo : procedure?
A dummy Scheme function that refers callers to the other clGetProgramBuildInfo-based functions which access the true C function.
(program-build-info-length program    
  device    
  param_name)  size_t/c
  program : _cl_program/c
  device : _cl_device_id/c
  param_name : _cl_program_build_info/c
Returns the size of param_name field of the argument(s). Calls clGetProgramBuildInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetProgramBuildInfo:_cl_build_status program 
  device 
  param_name) 
  _cl_build_status/c
  program : _cl_program/c
  device : _cl_device_id/c
  param_name : _cl_program_build_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetProgramBuildInfo with param_value_size set to (ctype-sizeof _cl_build_status) so that the value is queried. Valid param_names are '(CL_PROGRAM_BUILD_STATUS).
(clGetProgramBuildInfo:_char* program    
  device    
  param_name    
  param_value_size)  bytes?
  program : _cl_program/c
  device : _cl_device_id/c
  param_name : _cl_program_build_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetProgramBuildInfo with param_value_size passed explicitly. Use program-build-info-length to find the maximum value. Valid param_names are '(CL_PROGRAM_BUILD_OPTIONS CL_PROGRAM_BUILD_LOG).
(program-build-info program    
  device    
  param_name)  any/c
  program : _cl_program/c
  device : _cl_device_id/c
  param_name : _cl_program_build_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetProgramBuildInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
(program-kernels-count program)  cl_uint/c
  program : _cl_program/c
Returns how many results clCreateKernelsInProgram may return for these arguments.
(clCreateKernelsInProgram program how-many)
  
_cl_kernel_vector/c cl_uint/c
  program : _cl_program/c
  how-many : cl_uint/c
Returns the minimum of how-many and how-many-possible values in rets.
(program-kernels program)  _cl_kernel_vector/c
  program : _cl_program/c
Returns all possible results from clCreateKernelsInProgram using program-kernels-count to extract the number available.
_cl_kernel_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-kernel-infos are the valid values.
_cl_kernel_info/c : contract?
A contract for _cl_kernel_info that accepts any symbol in valid-kernel-infos.
valid-kernel-infos : (listof symbol?)
A list of valid options for _cl_kernel_info. Its value is '(CL_KERNEL_FUNCTION_NAME CL_KERNEL_NUM_ARGS CL_KERNEL_REFERENCE_COUNT CL_KERNEL_CONTEXT CL_KERNEL_PROGRAM).
clGetKernelInfo : procedure?
A dummy Scheme function that refers callers to the other clGetKernelInfo-based functions which access the true C function.
(kernel-info-length kernel param_name)  size_t/c
  kernel : _cl_kernel/c
  param_name : _cl_kernel_info/c
Returns the size of param_name field of the argument(s). Calls clGetKernelInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetKernelInfo:_cl_uint kernel    
  param_name)  cl_uint/c
  kernel : _cl_kernel/c
  param_name : _cl_kernel_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetKernelInfo with param_value_size set to (ctype-sizeof cl_uint) so that the value is queried. Valid param_names are '(CL_KERNEL_NUM_ARGS CL_KERNEL_REFERENCE_COUNT).
(clGetKernelInfo:_cl_context kernel    
  param_name)  _cl_context/c
  kernel : _cl_kernel/c
  param_name : _cl_kernel_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetKernelInfo with param_value_size set to (ctype-sizeof _cl_context) so that the value is queried. Valid param_names are '(CL_KERNEL_CONTEXT).
(clGetKernelInfo:_cl_program kernel    
  param_name)  _cl_program/c
  kernel : _cl_kernel/c
  param_name : _cl_kernel_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetKernelInfo with param_value_size set to (ctype-sizeof _cl_program) so that the value is queried. Valid param_names are '(CL_KERNEL_PROGRAM).
(clGetKernelInfo:_char* kernel    
  param_name    
  param_value_size)  bytes?
  kernel : _cl_kernel/c
  param_name : _cl_kernel_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetKernelInfo with param_value_size passed explicitly. Use kernel-info-length to find the maximum value. Valid param_names are '(CL_KERNEL_FUNCTION_NAME).
(kernel-info kernel param_name)  any/c
  kernel : _cl_kernel/c
  param_name : _cl_kernel_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetKernelInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_kernel_work_group_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-kernel-work-group-infos are the valid values.
_cl_kernel_work_group_info/c : contract?
A contract for _cl_kernel_work_group_info that accepts any symbol in valid-kernel-work-group-infos.
valid-kernel-work-group-infos : (listof symbol?)
A list of valid options for _cl_kernel_work_group_info. Its value is '(CL_KERNEL_WORK_GROUP_SIZE CL_KERNEL_COMPILE_WORK_GROUP_SIZE CL_KERNEL_LOCAL_MEM_SIZE).
clGetKernelWorkGroupInfo : procedure?
A dummy Scheme function that refers callers to the other clGetKernelWorkGroupInfo-based functions which access the true C function.
(kernel-work-group-info-length kernel    
  device    
  param_name)  size_t/c
  kernel : _cl_kernel/c
  device : _cl_device_id/c
  param_name : _cl_kernel_work_group_info/c
Returns the size of param_name field of the argument(s). Calls clGetKernelWorkGroupInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetKernelWorkGroupInfo:_size_t kernel    
  device    
  param_name)  size_t/c
  kernel : _cl_kernel/c
  device : _cl_device_id/c
  param_name : _cl_kernel_work_group_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetKernelWorkGroupInfo with param_value_size set to (ctype-sizeof size_t) so that the value is queried. Valid param_names are '(CL_KERNEL_WORK_GROUP_SIZE).
(clGetKernelWorkGroupInfo:_cl_ulong kernel    
  device    
  param_name)  cl_ulong/c
  kernel : _cl_kernel/c
  device : _cl_device_id/c
  param_name : _cl_kernel_work_group_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetKernelWorkGroupInfo with param_value_size set to (ctype-sizeof cl_ulong) so that the value is queried. Valid param_names are '(CL_KERNEL_LOCAL_MEM_SIZE).
(clGetKernelWorkGroupInfo:_size_t* kernel 
  device 
  param_name 
  param_value_size) 
  size_t_vector/c
  kernel : _cl_kernel/c
  device : _cl_device_id/c
  param_name : _cl_kernel_work_group_info/c
  param_value_size : size_t/c
Returns the value associated with param_name for the argument(s). Implemented by clGetKernelWorkGroupInfo with param_value_size passed explicitly. Use kernel-work-group-info-length to find the maximum value. Valid param_names are '(CL_KERNEL_COMPILE_WORK_GROUP_SIZE).
(kernel-work-group-info kernel    
  device    
  param_name)  any/c
  kernel : _cl_kernel/c
  device : _cl_device_id/c
  param_name : _cl_kernel_work_group_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetKernelWorkGroupInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.
_cl_event_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-event-infos are the valid values.
_cl_event_info/c : contract?
A contract for _cl_event_info that accepts any symbol in valid-event-infos.
valid-event-infos : (listof symbol?)
A list of valid options for _cl_event_info. Its value is '(CL_EVENT_COMMAND_QUEUE CL_EVENT_COMMAND_TYPE CL_EVENT_COMMAND_EXECUTION_STATUS CL_EVENT_REFERENCE_COUNT).
_cl_command_type : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-command-types are the valid values.
_cl_command_type/c : contract?
A contract for _cl_command_type that accepts any symbol in valid-command-types.
valid-command-types : (listof symbol?)
A list of valid options for _cl_command_type. Its value is '(CL_COMMAND_NDRANGE_KERNEL CL_COMMAND_TASK CL_COMMAND_NATIVE_KERNEL CL_COMMAND_READ_BUFFER CL_COMMAND_WRITE_BUFFER CL_COMMAND_COPY_BUFFER CL_COMMAND_READ_IMAGE CL_COMMAND_WRITE_IMAGE CL_COMMAND_COPY_IMAGE CL_COMMAND_COPY_BUFFER_TO_IMAGE CL_COMMAND_COPY_IMAGE_TO_BUFFER CL_COMMAND_MAP_BUFFER CL_COMMAND_MAP_IMAGE CL_COMMAND_UNMAP_MEM_OBJECT CL_COMMAND_MARKER CL_COMMAND_ACQUIRE_GL_OBJECTS CL_COMMAND_RELEASE_GL_OBJECTS).
_command_execution_status : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_int, where valid-command-execution-statuses are the valid values.
_command_execution_status/c : contract?
A contract for _command_execution_status that accepts any symbol in valid-command-execution-statuses.
valid-command-execution-statuses : (listof symbol?)
A list of valid options for _command_execution_status. Its value is '(CL_QUEUED CL_SUBMITTED CL_RUNNING CL_COMPLETE).
clGetEventInfo : procedure?
A dummy Scheme function that refers callers to the other clGetEventInfo-based functions which access the true C function.
(event-info-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).
(event-info event param_name)  any/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.
_cl_profiling_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by cl_uint, where valid-profiling-infos are the valid values.
_cl_profiling_info/c : contract?
A contract for _cl_profiling_info that accepts any symbol in valid-profiling-infos.
valid-profiling-infos : (listof symbol?)
A list of valid options for _cl_profiling_info. Its value is '(CL_PROFILING_COMMAND_QUEUED CL_PROFILING_COMMAND_SUBMIT CL_PROFILING_COMMAND_START CL_PROFILING_COMMAND_END).
clGetEventProfilingInfo : procedure?
A dummy Scheme function that refers callers to the other clGetEventProfilingInfo-based functions which access the true C function.
(event-profiling-info-length event    
  param_name)  size_t/c
  event : _cl_event/c
  param_name : _cl_profiling_info/c
Returns the size of param_name field of the argument(s). Calls clGetEventProfilingInfo with values for param_value_size and param_value such that param_value_size_ret is queried.
(clGetEventProfilingInfo:_cl_ulong event    
  param_name)  cl_ulong/c
  event : _cl_event/c
  param_name : _cl_profiling_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetEventProfilingInfo with param_value_size set to (ctype-sizeof cl_ulong) so that the value is queried. Valid param_names are '(CL_PROFILING_COMMAND_QUEUED CL_PROFILING_COMMAND_SUBMIT CL_PROFILING_COMMAND_START CL_PROFILING_COMMAND_END).
(event-profiling-info event param_name)  any/c
  event : _cl_event/c
  param_name : _cl_profiling_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetEventProfilingInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.