On this page:
valid-bools
valid-platform-infos
valid-device-types
valid-device-infos
valid-device-fp-config
valid-device-mem-cache-types
valid-device-local-mem-types
valid-device-exec-capabilities
valid-command-queue-properties
valid-mem-flags
valid-channel-orders
valid-mem-object-types
valid-addressing-modes
valid-filter-modes
valid-context-infos
valid-command-queue-infos
valid-mem-infos
valid-image-infos
valid-sampler-infos
valid-program-infos
valid-program-build-infos
valid-build-statuses
valid-kernel-infos
valid-kernel-work-group-infos
valid-event-infos
valid-command-types
valid-command-execution-statuses
valid-profiling-infos
platform-info
system-platforms
platform-devices
device-info
context-info
command-queue-info
context-supported-image-formats
memobj-info
image-info
sampler-info
program-info
program-build-info
program-kernels
kernel-info
kernel-work-group-info
event-info
event-profiling-info
make-image-format
devices->context
device-type->context
context-retain!
context-release!
make-command-queue
command-queue-retain!
command-queue-release!
set-command-queue-property!
make-buffer
enqueue-read-buffer!
enqueue-write-buffer!
enqueue-copy-buffer!
memobj-retain!
memobj-release!
make-2d-image
make-3d-image
enqueue-read-image!
enqueue-write-image!
enqueue-copy-image!
enqueue-copy-image-to-buffer!
enqueue-copy-buffer-to-image!
enqueue-map-buffer!
enqueue-map-image!
enqueue-unmap-buffer!
enqueue-unmap-image!
make-sampler
sampler-retain!
sampler-release!
make-program/ source
make-program/ binary
program-retain!
program-release!
program-build!
unload-compiler-hint!
program-kernel
kernel-retain!
kernel-release!
set-kernel-arg: _ cl_ mem!
set-kernel-arg: _ cl_ uint!
set-kernel-arg: _ cl_ int!
set-kernel-arg: local!
enqueue-nd-range-kernel!
enqueue-kernel!
events-wait!
event-retain!
event-release!
enqueue-marker!
enqueue-events-wait!
enqueue-barrier!
command-queue-flush!
command-queue-finish!

2 Scheme-style API Reference

 (require (planet jaymccarthy/opencl:3:1/scheme))

The FFI provides Scheme-style names for many of the C API functions.

valid-bools : any/c
_cl_bool-values from the C API.
valid-platform-infos : any/c
_cl_platform_info-values from the C API.
valid-device-types : any/c
_cl_device_type-values from the C API.
valid-device-infos : any/c
_cl_device_info-values from the C API.
valid-device-fp-config : any/c
_cl_device_fp_config-values from the C API.
valid-device-mem-cache-types : any/c
_cl_device_mem_cache_type-values from the C API.
valid-device-local-mem-types : any/c
_cl_device_local_mem_type-values from the C API.
valid-device-exec-capabilities : any/c
_cl_device_exec_capabilities-values from the C API.
valid-command-queue-properties : any/c
_cl_command_queue_properties-values from the C API.
valid-mem-flags : any/c
_cl_mem_flags-values from the C API.
valid-channel-orders : any/c
_cl_channel_order-values from the C API.
valid-mem-object-types : any/c
_cl_mem_object_type-values from the C API.
valid-addressing-modes : any/c
_cl_addressing_mode-values from the C API.
valid-filter-modes : any/c
_cl_filter_mode-values from the C API.
valid-context-infos : any/c
_cl_context_info-values from the C API.
valid-command-queue-infos : any/c
_cl_command_queue_info-values from the C API.
valid-mem-infos : any/c
_cl_mem_info-values from the C API.
valid-image-infos : any/c
_cl_image_info-values from the C API.
valid-sampler-infos : any/c
_cl_sampler_info-values from the C API.
valid-program-infos : any/c
_cl_program_info-values from the C API.
valid-program-build-infos : any/c
_cl_program_build_info-values from the C API.
valid-build-statuses : any/c
_cl_build_status-values from the C API.
valid-kernel-infos : any/c
_cl_kernel_info-values from the C API.
valid-kernel-work-group-infos : any/c
_cl_kernel_work_group_info-values from the C API.
valid-event-infos : any/c
_cl_event_info-values from the C API.
valid-command-types : any/c
_cl_command_type-values from the C API.
valid-command-execution-statuses : any/c
_command_execution_status-values from the C API.
valid-profiling-infos : any/c
_cl_profiling_info-values from the C API.
platform-info : any/c
clGetPlatformInfo:generic from the C API.
system-platforms : any/c
clGetPlatformIDs:vector from the C API.
platform-devices : any/c
clGetDeviceIDs:vector from the C API.
device-info : any/c
clGetDeviceInfo:generic from the C API.
context-info : any/c
clGetContextInfo:generic from the C API.
command-queue-info : any/c
clGetCommandQueueInfo:generic from the C API.
context-supported-image-formats : any/c
clGetSupportedImageFormats:vector from the C API.
memobj-info : any/c
clGetMemObjectInfo:generic from the C API.
image-info : any/c
clGetImageInfo:generic from the C API.
sampler-info : any/c
clGetSamplerInfo:generic from the C API.
program-info : any/c
clGetProgramInfo:generic from the C API.
program-build-info : any/c
clGetProgramBuildInfo:generic from the C API.
program-kernels : any/c
clCreateKernelsInProgram:vector from the C API.
kernel-info : any/c
clGetKernelInfo:generic from the C API.
kernel-work-group-info : any/c
clGetKernelWorkGroupInfo:generic from the C API.
event-info : any/c
clGetEventInfo:generic from the C API.
event-profiling-info : any/c
clGetEventProfilingInfo:generic from the C API.
make-image-format : any/c
make-cl_image_format from the C API.
devices->context : any/c
clCreateContext from the C API.
device-type->context : any/c
clCreateContextFromType from the C API.
context-retain! : any/c
clRetainContext from the C API.
context-release! : any/c
clReleaseContext from the C API.
make-command-queue : any/c
clCreateCommandQueue from the C API.
command-queue-retain! : any/c
clRetainCommandQueue from the C API.
command-queue-release! : any/c
clReleaseCommandQueue from the C API.
set-command-queue-property! : any/c
clSetCommandQueueProperty from the C API.
make-buffer : any/c
clCreateBuffer from the C API.
enqueue-read-buffer! : any/c
clEnqueueReadBuffer from the C API.
enqueue-write-buffer! : any/c
clEnqueueWriteBuffer from the C API.
enqueue-copy-buffer! : any/c
clEnqueueCopyBuffer from the C API.
memobj-retain! : any/c
clRetainMemObject from the C API.
memobj-release! : any/c
clReleaseMemObject from the C API.
make-2d-image : any/c
clCreateImage2D from the C API.
make-3d-image : any/c
clCreateImage3D from the C API.
enqueue-read-image! : any/c
clEnqueueReadImage from the C API.
enqueue-write-image! : any/c
clEnqueueWriteImage from the C API.
enqueue-copy-image! : any/c
clEnqueueCopyImage from the C API.
enqueue-copy-image-to-buffer! : any/c
clEnqueueCopyImageToBuffer from the C API.
enqueue-copy-buffer-to-image! : any/c
clEnqueueCopyBufferToImage from the C API.
enqueue-map-buffer! : any/c
clEnqueueMapBuffer from the C API.
enqueue-map-image! : any/c
clEnqueueMapImage from the C API.
enqueue-unmap-buffer! : any/c
clEnqueueUnmapMemObject from the C API.
enqueue-unmap-image! : any/c
clEnqueueUnmapMemObject from the C API.
make-sampler : any/c
clCreateSampler from the C API.
sampler-retain! : any/c
clRetainSampler from the C API.
sampler-release! : any/c
clReleaseSampler from the C API.
make-program/source : any/c
clCreateProgramWithSource from the C API.
make-program/binary : any/c
clCreateProgramWithBinary from the C API.
program-retain! : any/c
clRetainProgram from the C API.
program-release! : any/c
clReleaseProgram from the C API.
program-build! : any/c
clBuildProgram from the C API.
unload-compiler-hint! : any/c
clUnloadCompiler from the C API.
program-kernel : any/c
clCreateKernel from the C API.
kernel-retain! : any/c
clRetainKernel from the C API.
kernel-release! : any/c
clReleaseKernel from the C API.
set-kernel-arg:_cl_mem! : any/c
clSetKernelArg:_cl_mem from the C API.
set-kernel-arg:_cl_uint! : any/c
clSetKernelArg:_cl_uint from the C API.
set-kernel-arg:_cl_int! : any/c
clSetKernelArg:_cl_int from the C API.
set-kernel-arg:local! : any/c
clSetKernelArg:local from the C API.
enqueue-nd-range-kernel! : any/c
clEnqueueNDRangeKernel from the C API.
enqueue-kernel! : any/c
clEnqueueTask from the C API.
events-wait! : any/c
clWaitForEvents from the C API.
event-retain! : any/c
clRetainEvent from the C API.
event-release! : any/c
clReleaseEvent from the C API.
enqueue-marker! : any/c
clEnqueueMarker from the C API.
enqueue-events-wait! : any/c
clEnqueueWaitForEvents from the C API.
enqueue-barrier! : any/c
clEnqueueBarrier from the C API.
command-queue-flush! : any/c
clFlush from the C API.
command-queue-finish! : any/c
clFinish from the C API.