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.

value

valid-bools : any/c

_cl_bool-values from the C API.

value

valid-platform-infos : any/c

_cl_platform_info-values from the C API.

value

valid-device-types : any/c

_cl_device_type-values from the C API.

value

valid-device-infos : any/c

_cl_device_info-values from the C API.

value

valid-device-fp-config : any/c

value

valid-device-mem-cache-types : any/c

value

valid-device-local-mem-types : any/c

value

valid-device-exec-capabilities : any/c

value

valid-command-queue-properties : any/c

value

valid-mem-flags : any/c

_cl_mem_flags-values from the C API.

value

valid-channel-orders : any/c

_cl_channel_order-values from the C API.

value

valid-mem-object-types : any/c

value

valid-addressing-modes : any/c

value

valid-filter-modes : any/c

_cl_filter_mode-values from the C API.

value

valid-context-infos : any/c

_cl_context_info-values from the C API.

value

valid-command-queue-infos : any/c

value

valid-mem-infos : any/c

_cl_mem_info-values from the C API.

value

valid-image-infos : any/c

_cl_image_info-values from the C API.

value

valid-sampler-infos : any/c

_cl_sampler_info-values from the C API.

value

valid-program-infos : any/c

_cl_program_info-values from the C API.

value

valid-program-build-infos : any/c

value

valid-build-statuses : any/c

_cl_build_status-values from the C API.

value

valid-kernel-infos : any/c

_cl_kernel_info-values from the C API.

value

valid-kernel-work-group-infos : any/c

value

valid-event-infos : any/c

_cl_event_info-values from the C API.

value

valid-command-types : any/c

_cl_command_type-values from the C API.

value

valid-command-execution-statuses : any/c

value

valid-profiling-infos : any/c

value

platform-info : any/c

value

system-platforms : any/c

clGetPlatformIDs:vector from the C API.

value

platform-devices : any/c

clGetDeviceIDs:vector from the C API.

value

device-info : any/c

clGetDeviceInfo:generic from the C API.

value

context-info : any/c

clGetContextInfo:generic from the C API.

value

command-queue-info : any/c

value

context-supported-image-formats : any/c

value

memobj-info : any/c

value

image-info : any/c

clGetImageInfo:generic from the C API.

value

sampler-info : any/c

clGetSamplerInfo:generic from the C API.

value

program-info : any/c

clGetProgramInfo:generic from the C API.

value

program-build-info : any/c

value

program-kernels : any/c

value

kernel-info : any/c

clGetKernelInfo:generic from the C API.

value

kernel-work-group-info : any/c

value

event-info : any/c

clGetEventInfo:generic from the C API.

value

event-profiling-info : any/c

value

make-image-format : any/c

make-cl_image_format from the C API.

value

devices->context : any/c

clCreateContext from the C API.

value

device-type->context : any/c

clCreateContextFromType from the C API.

value

context-retain! : any/c

clRetainContext from the C API.

value

context-release! : any/c

clReleaseContext from the C API.

value

make-command-queue : any/c

clCreateCommandQueue from the C API.

value

command-queue-retain! : any/c

clRetainCommandQueue from the C API.

value

command-queue-release! : any/c

clReleaseCommandQueue from the C API.

value

set-command-queue-property! : any/c

value

make-buffer : any/c

clCreateBuffer from the C API.

value

enqueue-read-buffer! : any/c

clEnqueueReadBuffer from the C API.

value

enqueue-write-buffer! : any/c

clEnqueueWriteBuffer from the C API.

value

enqueue-copy-buffer! : any/c

clEnqueueCopyBuffer from the C API.

value

memobj-retain! : any/c

clRetainMemObject from the C API.

value

memobj-release! : any/c

clReleaseMemObject from the C API.

value

make-2d-image : any/c

clCreateImage2D from the C API.

value

make-3d-image : any/c

clCreateImage3D from the C API.

value

enqueue-read-image! : any/c

clEnqueueReadImage from the C API.

value

enqueue-write-image! : any/c

clEnqueueWriteImage from the C API.

value

enqueue-copy-image! : any/c

clEnqueueCopyImage from the C API.

value

enqueue-copy-image-to-buffer! : any/c

value

enqueue-copy-buffer-to-image! : any/c

value

enqueue-map-buffer! : any/c

clEnqueueMapBuffer from the C API.

value

enqueue-map-image! : any/c

clEnqueueMapImage from the C API.

value

enqueue-unmap-buffer! : any/c

clEnqueueUnmapMemObject from the C API.

value

enqueue-unmap-image! : any/c

clEnqueueUnmapMemObject from the C API.

value

make-sampler : any/c

clCreateSampler from the C API.

value

sampler-retain! : any/c

clRetainSampler from the C API.

value

sampler-release! : any/c

clReleaseSampler from the C API.

value

make-program/source : any/c

value

make-program/binary : any/c

value

program-retain! : any/c

clRetainProgram from the C API.

value

program-release! : any/c

clReleaseProgram from the C API.

value

program-build! : any/c

clBuildProgram from the C API.

value

unload-compiler-hint! : any/c

clUnloadCompiler from the C API.

value

program-kernel : any/c

clCreateKernel from the C API.

value

kernel-retain! : any/c

clRetainKernel from the C API.

value

kernel-release! : any/c

clReleaseKernel from the C API.

value

set-kernel-arg:_cl_mem! : any/c

clSetKernelArg:_cl_mem from the C API.

value

set-kernel-arg:_cl_uint! : any/c

clSetKernelArg:_cl_uint from the C API.

value

set-kernel-arg:_cl_int! : any/c

clSetKernelArg:_cl_int from the C API.

value

set-kernel-arg:local! : any/c

clSetKernelArg:local from the C API.

value

enqueue-nd-range-kernel! : any/c

clEnqueueNDRangeKernel from the C API.

value

enqueue-kernel! : any/c

clEnqueueTask from the C API.

value

events-wait! : any/c

clWaitForEvents from the C API.

value

event-retain! : any/c

clRetainEvent from the C API.

value

event-release! : any/c

clReleaseEvent from the C API.

value

enqueue-marker! : any/c

clEnqueueMarker from the C API.

value

enqueue-events-wait! : any/c

clEnqueueWaitForEvents from the C API.

value

enqueue-barrier! : any/c

clEnqueueBarrier from the C API.

value

command-queue-flush! : any/c

clFlush from the C API.

value

command-queue-finish! : any/c

clFinish from the C API.