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.
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.
A contract for _cl_platform_id values.
A contract for _cl_platform_id values that includes NULL pointers, represented by #f.
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.
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.
A contract for _cl_device_id values.
A contract for _cl_device_id values that includes NULL pointers, represented by #f.
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.
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.
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.
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.
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.
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.
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.
A contract for _cl_context values.
A contract for _cl_context values that includes NULL pointers, represented by #f.
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.
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.
A contract for _cl_command_queue values.
A contract for _cl_command_queue values that includes NULL pointers, represented by #f.
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.
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.
A contract for _cl_mem values.
A contract for _cl_mem values that includes NULL pointers, represented by #f.
A contract for cvectors of _cl_mem values.
_cl_event : ctype? |
Represents a pointer to a particular kind of OpenCL object.
A contract for _cl_event values.
A contract for _cl_event values that includes NULL pointers, represented by #f.
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.
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.
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.
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.
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.
A contract for _cl_sampler values.
A contract for _cl_sampler values that includes NULL pointers, represented by #f.
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.
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.
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.
A contract for _cl_program values.
A contract for _cl_program values that includes NULL pointers, represented by #f.
A contract for cvectors of _cl_program values.
_cl_kernel : ctype? |
Represents a pointer to a particular kind of OpenCL object.
A contract for _cl_kernel values.
A contract for _cl_kernel values that includes NULL pointers, represented by #f.
A contract for cvectors of _cl_kernel values.
Returns how many results clGetPlatformIDs may return for these arguments.
Returns the minimum of how-many and how-many-possible values in rets.
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.
| |||||||||||||||||||||
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 : _cl_platform_id/null/c | ||||||||||||||
device_type : _cl_device_type/c |
Returns how many results clGetDeviceIDs may return for these arguments.
| ||||||||||||||||||||||||
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.
| ||||||||
→ _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).
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||
→ _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).
| ||||||||
→ _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).
| ||||||||
→ _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).
| ||||||||
→ _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).
| ||||||||
→ _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).
| ||||||||
→ _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).
| |||||||||||||||||||||
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).
| |||||||||||||||||||||
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).
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.
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.
| ||||||||||||||
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).
| ||||||||||||
→ _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).
| ||||||||||||
→ 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).
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.
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 : _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.
| ||||||||
→ _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).
| ||||||||
→ _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).
| ||||||||||||||
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).
| ||||||||||||
→ _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 : _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 : _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.
Returns the minimum of how-many and how-many-possible values in rets.
| ||||||||||||
→ 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.
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.
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.
| ||||||||
→ _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).
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||||||||
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).
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.
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.
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.
| ||||||||
→ 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).
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.
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.
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||
→ _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).
| ||||||||
→ _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).
| ||||||||||||||
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).
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.
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.
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||||||
→ _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).
| |||||||||||||||||||||
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).
| |||||||||||||||||||||
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).
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.
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.
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 : _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.
| ||||||||||||
→ _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).
| ||||||||||||||||||||||||||||
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 : _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.
Returns how many results clCreateKernelsInProgram may return for these arguments.
(clCreateKernelsInProgram program how-many) | |||||||
| |||||||
program : _cl_program/c | |||||||
how-many : cl_uint/c |
Returns the minimum of how-many and how-many-possible values in rets.
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.
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.
| ||||||||||||||
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).
| ||||||||||||||
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).
| ||||||||||||||
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).
| |||||||||||||||||||||
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).
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.
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 : _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.
| |||||||||||||||||||||
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).
| |||||||||||||||||||||
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).
| ||||||||||||||||
→ 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 : _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.
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.
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.
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.
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.
| ||||||||
→ _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).
| ||||||||
→ _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).
| ||||||||
→ _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).
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.
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 : _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.
| ||||||||||||||
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.