On this page:
_ cl_ uint
_ cl_ uint/ c
_ cl_ uint_ vector/ c
_ cl_ int
_ cl_ int/ c
_ cl_ int_ vector/ c
_ cl_ ulong
_ cl_ ulong/ c
_ cl_ ulong_ vector/ c
_ 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_ bitfield
_ cl_ bitfield/ c
_ cl_ bitfield_ vector/ c
_ 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
_ size_ t
_ size_ t/ c
_ size_ t_ vector/ c
_ void*
_ void*/ c
_ void*_ vector/ c
_ void*/ null
_ void*/ null/ c
_ void*/ null_ vector/ c
_ 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
_ intptr_ t
_ intptr_ t/ c
_ intptr_ t_ vector/ c
_ cl_ context_ properties
_ cl_ context_ properties/ c
_ cl_ context_ properties_ vector/ c
_ cl_ image_ format
make-cl_ image_ format
cl_ image_ format-image_ channel_ order
cl_ image_ format-image_ channel_ data_ type
set-cl_ image_ format-image_ channel_ order!
set-cl_ image_ format-image_ channel_ data_ type!
_ cl_ image_ format/ c
_ cl_ image_ format_ vector/ c
system-platform-count
cl Get Platform IDs
system-platforms
cl Get Platform Info
platform-info-length
cl Get Platform Info: _ char*
cl Get Platform Info/ c
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*
cl Get Device Info/ c
device-info
cl Create Context
cl Create Context From Type
cl Retain Context
cl Release Context
_ 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*
cl Get Context Info/ c
context-info
cl Create Command Queue
cl Retain Command Queue
cl Release Command Queue
_ 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
cl Get Command Queue Info/ c
command-queue-info
cl Set Command Queue Property
cl Create Buffer
cl Enqueue Read Buffer
cl Enqueue Write Buffer
cl Enqueue Copy Buffer
cl Retain Mem Object
cl Release Mem Object
cl Create Image2D
cl Create Image3D
context-supported-image-formats-count
cl Get Supported Image Formats
context-supported-image-formats
cl Enqueue Read Image
cl Enqueue Write Image
cl Enqueue Copy Image
cl Enqueue Copy Image To Buffer
cl Enqueue Copy Buffer To Image
cl Enqueue Map Buffer
cl Enqueue Map Image
cl Enqueue Unmap Mem Object
_ cl_ mem_ info
_ cl_ mem_ info/ c
valid-memobj-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
cl Get Mem Object Info/ c
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
cl Get Image Info/ c
image-info
cl Create Sampler
cl Retain Sampler
cl Release Sampler
_ 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
cl Get Sampler Info/ c
sampler-info
cl Create Program With Source
cl Create Program With Binary
cl Retain Program
cl Release Program
cl Build Program
cl Unload Compiler
_ 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*
cl Get Program Info/ c
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*
cl Get Program Build Info/ c
program-build-info
cl Create Kernel
program-kernels-count
cl Create Kernels In Program
program-kernels
cl Retain Kernel
cl Release Kernel
cl Set Kernel Arg: _ cl_ mem
cl Set Kernel Arg: _ cl_ uint
_ 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*
cl Get Kernel Info/ c
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*
cl Get Kernel Work Group Info/ c
kernel-work-group-info
cl Enqueue NDRange Kernel
cl Enqueue Task
cl Wait For Events
_ 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
cl Get Event Info/ c
event-info
cl Retain Event
cl Release Event
cl Enqueue Marker
cl Enqueue Wait For Events
cl Enqueue Barrier
_ 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
cl Get Event Profiling Info/ c
event-profiling-info
cl Flush
cl Finish

1 C API Reference

 (require (planet jaymccarthy/opencl:2:0/ffi))

The FFI is mostly a transliteration of the C API. There are some arguments that are automatically computed and some C functions are represented in Scheme with multiple types for each of their calling patterns. This documentation gives the exhaustive list of bindings and their contracts. Refer to the specification for the semantics of these functions.

_cl_uint : ctype?
An alias for _uint32.
_cl_uint/c : contract?
A contract for _cl_uint values. Defined as exact-nonnegative-integer?.
_cl_uint_vector/c : contract?
A contract for vectors of _cl_uint values.
_cl_int : ctype?
An alias for _int32.
_cl_int/c : contract?
A contract for _cl_int values. Defined as exact-integer?.
_cl_int_vector/c : contract?
A contract for vectors of _cl_int values.
_cl_ulong : ctype?
An alias for _uint64.
_cl_ulong/c : contract?
A contract for _cl_ulong values. Defined as exact-nonnegative-integer?.
_cl_ulong_vector/c : contract?
A contract for vectors of _cl_ulong values.
_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_bitfield : ctype?
An alias for _cl_ulong.
_cl_bitfield/c : contract?
A contract for _cl_bitfield values. Defined as _cl_ulong/c.
_cl_bitfield_vector/c : contract?
A contract for vectors of _cl_bitfield values.
_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).
_size_t : ctype?
An alias for _long.
_size_t/c : contract?
A contract for _size_t values. Defined as exact-nonnegative-integer?.
_size_t_vector/c : contract?
A contract for vectors of _size_t values.
_void* : ctype?
An alias for _pointer.
_void*/c : contract?
A contract for _void* values. Defined as cpointer?.
_void*_vector/c : contract?
A contract for vectors of _void* values.
_void*/null : ctype?
An alias for _pointer.
_void*/null/c : contract?
A contract for _void*/null values. Defined as (or/c false/c cpointer?).
_void*/null_vector/c : contract?
A contract for vectors of _void*/null values.
_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.
_intptr_t : ctype?
An alias for _cl_uint.
_intptr_t/c : contract?
A contract for _intptr_t values. Defined as _cl_uint/c.
_intptr_t_vector/c : contract?
A contract for vectors of _intptr_t values.
_cl_context_properties : ctype?
An alias for _intptr_t.
_cl_context_properties/c : contract?
A contract for _cl_context_properties values. Defined as _intptr_t/c.
_cl_context_properties_vector/c : contract?
A contract for vectors of _cl_context_properties values.
_cl_image_format : ctype?
Represents a pointer to a particular kind of OpenCL object.
(make-cl_image_format image_channel_order 
  image_channel_data_type) 
  _cl_image_format/c
  image_channel_order : _cl_channel_order/c
  image_channel_data_type : _cl_channel_type/c
Constructs a _cl_image_format value.
(cl_image_format-image_channel_order obj)  _cl_channel_order/c
  obj : _cl_image_format/c
Extracts the image_channel_order of a _cl_image_format value.
(cl_image_format-image_channel_data_type obj)
  _cl_channel_type/c
  obj : _cl_image_format/c
Extracts the image_channel_data_type of a _cl_image_format value.
(set-cl_image_format-image_channel_order! obj    
  v)  void
  obj : _cl_image_format/c
  v : _cl_channel_order/c
Sets the image_channel_order of a _cl_image_format value.
(set-cl_image_format-image_channel_data_type! obj    
  v)  void
  obj : _cl_image_format/c
  v : _cl_channel_type/c
Sets the image_channel_data_type of a _cl_image_format value.
_cl_image_format/c : contract?
A contract for _cl_image_format values.
_cl_image_format_vector/c : contract?
A contract for cvectors of _cl_image_format 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. Uses 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).
clGetPlatformInfo/c : contract?
A contract for the return values of platform-info. Its definition is: (or/c bytes?).
(platform-info platform param_name)  clGetPlatformInfo/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. Uses 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. Uses 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).
clGetDeviceInfo/c : contract?
A contract for the return values of device-info. Its definition is: (or/c _cl_device_type/c _cl_uint/c _size_t/c _cl_ulong/c _cl_bool/c _cl_device_fp_config/c _cl_device_mem_cache_type/c _cl_device_local_mem_type/c _cl_device_exec_capabilities/c _cl_command_queue_properties/c _cl_platform_id/c _size_t_vector/c bytes?).
(device-info device param_name)  clGetDeviceInfo/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.
(clCreateContext devices)  _cl_context/c
  devices : (vectorof _cl_device_id/c)
(clCreateContextFromType device_type)  _cl_context/c
  device_type : _cl_device_type/c
(clRetainContext ctxt)  void
  ctxt : _cl_context/c
(clReleaseContext ctxt)  void
  ctxt : _cl_context/c
_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. Uses 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. Uses context-info-length to find the maximum value. Valid param_names are '(CL_CONTEXT_PROPERTIES).
clGetContextInfo/c : contract?
A contract for the return values of context-info. Its definition is: (or/c _cl_uint/c _cl_device_id_vector/c _cl_context_properties_vector/c).
(context-info context param_name)  clGetContextInfo/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.
(clCreateCommandQueue ctxt    
  device    
  properties)  _cl_command_queue/c
  ctxt : _cl_context/c
  device : _cl_device_id/c
  properties : _cl_command_queue_properties/c
(clRetainCommandQueue cq)  void
  cq : _cl_command_queue/c
(clReleaseCommandQueue cq)  void
  cq : _cl_command_queue/c
_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).
clGetCommandQueueInfo/c : contract?
A contract for the return values of command-queue-info. Its definition is: (or/c _cl_context/c _cl_device_id/c _cl_uint/c _cl_command_queue_properties/c).
(command-queue-info 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.
(clSetCommandQueueProperty cq 
  properties 
  enable) 
  _cl_command_queue_properties/c
  cq : _cl_command_queue/c
  properties : _cl_command_queue_properties/c
  enable : _cl_bool/c
(clCreateBuffer ctxt mem-flags size host-ptr)  _cl_mem/c
  ctxt : _cl_context/c
  mem-flags : _cl_mem_flags/c
  size : _size_t/c
  host-ptr : _void*/null/c
(clEnqueueReadBuffer cq    
  buffer    
  blocking?    
  offset    
  cb    
  ptr    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  buffer : _cl_mem/c
  blocking? : _cl_bool/c
  offset : _size_t/c
  cb : _size_t/c
  ptr : _void*/c
  wait-list : (vectorof _cl_event/c)
(clEnqueueWriteBuffer cq    
  buffer    
  blocking?    
  offset    
  cb    
  ptr    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  buffer : _cl_mem/c
  blocking? : _cl_bool/c
  offset : _size_t/c
  cb : _size_t/c
  ptr : _void*/c
  wait-list : (vectorof _cl_event/c)
(clEnqueueCopyBuffer cq    
  src    
  dst    
  src_offset    
  dst_offset    
  cb    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  src : _cl_mem/c
  dst : _cl_mem/c
  src_offset : _size_t/c
  dst_offset : _size_t/c
  cb : _size_t/c
  wait-list : (vectorof _cl_event/c)
(clRetainMemObject memobj)  void
  memobj : _cl_mem/c
(clReleaseMemObject memobj)  void
  memobj : _cl_mem/c
(clCreateImage2D ctxt    
  mem-flags    
  format    
  image-width    
  image-height    
  image-row-pitch    
  host-ptr)  _cl_mem/c
  ctxt : _cl_context/c
  mem-flags : _cl_mem_flags/c
  format : _cl_image_format/c
  image-width : _size_t/c
  image-height : _size_t/c
  image-row-pitch : _size_t/c
  host-ptr : _void*/c
(clCreateImage3D ctxt    
  mem-flags    
  format    
  image-width    
  image-height    
  image-depth    
  image-row-pitch    
  image-slice-pitch    
  host-ptr)  _cl_mem/c
  ctxt : _cl_context/c
  mem-flags : _cl_mem_flags/c
  format : _cl_image_format/c
  image-width : _size_t/c
  image-height : _size_t/c
  image-depth : _size_t/c
  image-row-pitch : _size_t/c
  image-slice-pitch : _size_t/c
  host-ptr : _void*/c
(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.
(clEnqueueReadImage cq    
  image    
  blocking?    
  origin    
  region    
  row-pitch    
  slice-ptch    
  ptr    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  image : _cl_mem/c
  blocking? : _cl_bool/c
  origin : (vector/c _size_t/c _size_t/c _size_t/c)
  region : (vector/c _size_t/c _size_t/c _size_t/c)
  row-pitch : _size_t/c
  slice-ptch : _size_t/c
  ptr : _void*/c
  wait-list : (vectorof _cl_event/c)
(clEnqueueWriteImage cq    
  image    
  blocking?    
  origin    
  region    
  row-pitch    
  slice-ptch    
  ptr    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  image : _cl_mem/c
  blocking? : _cl_bool/c
  origin : (vector/c _size_t/c _size_t/c _size_t/c)
  region : (vector/c _size_t/c _size_t/c _size_t/c)
  row-pitch : _size_t/c
  slice-ptch : _size_t/c
  ptr : _void*/c
  wait-list : (vectorof _cl_event/c)
(clEnqueueCopyImage cq    
  src    
  dst    
  src-origin    
  dst-origin    
  region    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  src : _cl_mem/c
  dst : _cl_mem/c
  src-origin : (vector/c _size_t/c _size_t/c _size_t/c)
  dst-origin : (vector/c _size_t/c _size_t/c _size_t/c)
  region : (vector/c _size_t/c _size_t/c _size_t/c)
  wait-list : (vectorof _cl_event/c)
(clEnqueueCopyImageToBuffer cq    
  src-image    
  dst-buffer    
  src-origin    
  region    
  dst-offset    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  src-image : _cl_mem/c
  dst-buffer : _cl_mem/c
  src-origin : (vector/c _size_t/c _size_t/c _size_t/c)
  region : (vector/c _size_t/c _size_t/c _size_t/c)
  dst-offset : _size_t/c
  wait-list : (vectorof _cl_event/c)
(clEnqueueCopyBufferToImage cq    
  src-buffer    
  dst-image    
  src-offset    
  dst-origin    
  region    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  src-buffer : _cl_mem/c
  dst-image : _cl_mem/c
  src-offset : _size_t/c
  dst-origin : (vector/c _size_t/c _size_t/c _size_t/c)
  region : (vector/c _size_t/c _size_t/c _size_t/c)
  wait-list : (vectorof _cl_event/c)
(clEnqueueMapBuffer cq    
  buffer    
  blocking?    
  map-flags    
  offset    
  cb    
  wait-list)  
_cl_event/c _void*/c
  cq : _cl_command_queue/c
  buffer : _cl_mem/c
  blocking? : _cl_bool/c
  map-flags : _cl_map_flags/c
  offset : _size_t/c
  cb : _size_t/c
  wait-list : (vectorof _cl_event/c)
(clEnqueueMapImage cq 
  image 
  blocking? 
  map-flags 
  origin 
  region 
  wait-list) 
  
_size_t/c _size_t/c _cl_event/c _void*/c
  cq : _cl_command_queue/c
  image : _cl_mem/c
  blocking? : _cl_bool/c
  map-flags : _cl_map_flags/c
  origin : (vector/c _size_t/c _size_t/c _size_t/c)
  region : (vector/c _size_t/c _size_t/c _size_t/c)
  wait-list : (vectorof _cl_event/c)
(clEnqueueUnmapMemObject cq    
  memobj    
  mapped-ptr    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  memobj : _cl_mem/c
  mapped-ptr : _void*/c
  wait-list : (vectorof _cl_event/c)
_cl_mem_info : ctype?
A ctype that represents an OpenCL enumeration, implemented by _cl_uint, where valid-memobj-infos are the valid values.
_cl_mem_info/c : contract?
A contract for _cl_mem_info that accepts any symbol in valid-memobj-infos.
valid-memobj-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).
clGetMemObjectInfo/c : contract?
A contract for the return values of memobj-info. Its definition is: (or/c _cl_mem_object_type/c _cl_mem_flags/c _size_t/c _void*/c _cl_uint/c _cl_context/c).
(memobj-info memobj param_name)  clGetMemObjectInfo/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).
clGetImageInfo/c : contract?
A contract for the return values of image-info. Its definition is: (or/c _cl_image_format/c _size_t/c).
(image-info memobj param_name)  clGetImageInfo/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.
(clCreateSampler ctxt    
  normalized?    
  addressing-mode    
  filter-mode)  _cl_sampler/c
  ctxt : _cl_context/c
  normalized? : _cl_bool/c
  addressing-mode : _cl_addressing_mode/c
  filter-mode : _cl_filter_mode/c
(clRetainSampler sampler)  void
  sampler : _cl_sampler/c
(clReleaseSampler sampler)  void
  sampler : _cl_sampler/c
_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).
clGetSamplerInfo/c : contract?
A contract for the return values of sampler-info. Its definition is: (or/c _cl_uint/c _cl_context/c _cl_addressing_mode/c _cl_filter_mode/c _cl_bool/c).
(sampler-info sampler param_name)  clGetSamplerInfo/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.
(clCreateProgramWithSource ctxt source)  _cl_program/c
  ctxt : _cl_context/c
  source : (vectorof bytes?)
(clCreateProgramWithBinary ctxt    
  devices    
  binaries)  _cl_program/c
  ctxt : _cl_context/c
  devices : (vectorof _cl_device_id/c)
  binaries : (vectorof bytes?)
(clRetainProgram program)  void
  program : _cl_program/c
(clReleaseProgram program)  void
  program : _cl_program/c
(clBuildProgram program devices options)  void
  program : _cl_program/c
  devices : (vectorof _cl_device_id/c)
  options : bytes?
(clUnloadCompiler)  void
_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. Uses 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. Uses 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. Uses program-info-length to find the maximum value. Valid param_names are '(CL_PROGRAM_BINARY_SIZES).
clGetProgramInfo/c : contract?
A contract for the return values of program-info. Its definition is: (or/c _cl_uint/c _cl_context/c _cl_device_id_vector/c bytes? _size_t_vector/c).
(program-info program param_name)  clGetProgramInfo/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. Uses program-build-info-length to find the maximum value. Valid param_names are '(CL_PROGRAM_BUILD_OPTIONS CL_PROGRAM_BUILD_LOG).
clGetProgramBuildInfo/c : contract?
A contract for the return values of program-build-info. Its definition is: (or/c _cl_build_status/c bytes?).
(program-build-info program    
  device    
  param_name)  clGetProgramBuildInfo/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.
(clCreateKernel program kernel-name)  _cl_kernel/c
  program : _cl_program/c
  kernel-name : bytes?
(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.
(clRetainKernel kernel)  void
  kernel : _cl_kernel/c
(clReleaseKernel kernel)  void
  kernel : _cl_kernel/c
(clSetKernelArg:_cl_mem kernel arg-num val)  void
  kernel : _cl_kernel/c
  arg-num : _cl_uint/c
  val : _cl_mem/c
(clSetKernelArg:_cl_uint kernel arg-num val)  void
  kernel : _cl_kernel/c
  arg-num : _cl_uint/c
  val : _cl_uint/c
_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. Uses kernel-info-length to find the maximum value. Valid param_names are '(CL_KERNEL_FUNCTION_NAME).
clGetKernelInfo/c : contract?
A contract for the return values of kernel-info. Its definition is: (or/c _cl_uint/c _cl_context/c _cl_program/c bytes?).
(kernel-info kernel param_name)  clGetKernelInfo/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. Uses kernel-work-group-info-length to find the maximum value. Valid param_names are '(CL_KERNEL_COMPILE_WORK_GROUP_SIZE).
clGetKernelWorkGroupInfo/c : contract?
A contract for the return values of kernel-work-group-info. Its definition is: (or/c _size_t/c _cl_ulong/c _size_t_vector/c).
(kernel-work-group-info kernel 
  device 
  param_name) 
  clGetKernelWorkGroupInfo/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.
(clEnqueueNDRangeKernel cq    
  kernel    
  dim    
  global-size    
  local-size    
  wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  kernel : _cl_kernel/c
  dim : (and/c _cl_uint/c (between/c 1 3))
  global-size : (vectorof _size_t/c)
  local-size : (vectorof _size_t/c)
  wait-list : (vectorof _cl_event/c)
(clEnqueueTask cq kernel wait-list)  _cl_event/c
  cq : _cl_command_queue/c
  kernel : _cl_kernel/c
  wait-list : (vectorof _cl_event/c)
(clWaitForEvents wait-list)  void
  wait-list : (vector? _cl_event/c)
_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).
clGetEventInfo/c : contract?
A contract for the return values of event-info. Its definition is: (or/c _cl_command_queue/c _cl_command_type/c _command_execution_status/c _cl_uint/c).
(event-info 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
(clEnqueueMarker cq)  _cl_event/c
  cq : _cl_command_queue/c
(clEnqueueWaitForEvents cq wait-list)  void
  cq : _cl_command_queue/c
  wait-list : (vectorof _cl_event/c)
(clEnqueueBarrier cq)  void
  cq : _cl_command_queue/c
_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).
clGetEventProfilingInfo/c : contract?
A contract for the return values of event-profiling-info. Its definition is: (or/c _cl_ulong/c).
(event-profiling-info event param_name)
  clGetEventProfilingInfo/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.
(clFlush cq)  void
  cq : _cl_command_queue/c
(clFinish cq)  void
  cq : _cl_command_queue/c