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 Racket-style API Reference🔗ℹ

 (require opencl/racket) package: opencl

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

_cl_bool-values from the C API.
_cl_platform_info-values from the C API.
_cl_device_type-values from the C API.
_cl_device_info-values from the C API.
_cl_mem_flags-values from the C API.
_cl_channel_order-values from the C API.
_cl_filter_mode-values from the C API.
_cl_context_info-values from the C API.
_cl_mem_info-values from the C API.
_cl_image_info-values from the C API.
_cl_sampler_info-values from the C API.
_cl_program_info-values from the C API.
_cl_build_status-values from the C API.
_cl_kernel_info-values from the C API.
_cl_event_info-values from the C API.
_cl_command_type-values from the C API.
clGetPlatformIDs:vector from the C API.
clGetDeviceIDs:vector from the C API.
clGetDeviceInfo:generic from the C API.
clGetContextInfo:generic from the C API.

value

image-info : any/c

clGetImageInfo:generic from the C API.
clGetSamplerInfo:generic from the C API.
clGetProgramInfo:generic from the C API.
clGetKernelInfo:generic from the C API.

value

event-info : any/c

clGetEventInfo:generic from the C API.
make-cl_image_format from the C API.
clCreateContext from the C API.
clCreateContextFromType from the C API.
clRetainContext from the C API.
clReleaseContext from the C API.
clCreateCommandQueue from the C API.
clRetainCommandQueue from the C API.
clReleaseCommandQueue from the C API.
clCreateBuffer from the C API.
clEnqueueReadBuffer from the C API.
clEnqueueWriteBuffer from the C API.
clEnqueueCopyBuffer from the C API.
clRetainMemObject from the C API.
clReleaseMemObject from the C API.
clCreateImage2D from the C API.
clCreateImage3D from the C API.
clEnqueueReadImage from the C API.
clEnqueueWriteImage from the C API.
clEnqueueCopyImage from the C API.
clEnqueueMapBuffer from the C API.
clEnqueueMapImage from the C API.
clEnqueueUnmapMemObject from the C API.
clEnqueueUnmapMemObject from the C API.
clCreateSampler from the C API.
clRetainSampler from the C API.
clReleaseSampler from the C API.
clRetainProgram from the C API.
clReleaseProgram from the C API.
clBuildProgram from the C API.
clUnloadCompiler from the C API.
clCreateKernel from the C API.
clRetainKernel from the C API.
clReleaseKernel from the C API.
clSetKernelArg:_cl_mem from the C API.
clSetKernelArg:_cl_uint from the C API.
clSetKernelArg:_cl_int from the C API.
clSetKernelArg:local from the C API.
clEnqueueNDRangeKernel from the C API.
clEnqueueTask from the C API.
clWaitForEvents from the C API.
clRetainEvent from the C API.
clReleaseEvent from the C API.
clEnqueueMarker from the C API.
clEnqueueWaitForEvents from the C API.
clEnqueueBarrier from the C API.
clFlush from the C API.
clFinish from the C API.