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
system-platforms
platform-info
platform-devices
device-info
valid-context-infos
context-info
valid-command-queue-infos
command-queue-info
context-supported-image-formats
valid-memobj-infos
memobj-info
valid-image-infos
image-info
valid-sampler-infos
sampler-info
valid-program-infos
program-info
valid-program-build-infos
valid-build-statuses
program-build-info
program-kernels
valid-kernel-infos
kernel-info
valid-kernel-work-group-infos
kernel-work-group-info
valid-event-infos
valid-command-types
valid-command-execution-statuses
event-info
valid-profiling-infos
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!
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:2:0/wrap))

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

valid-bools : any/c
valid-bools from the C API.
valid-platform-infos : any/c
valid-platform-infos from the C API.
valid-device-types : any/c
valid-device-types from the C API.
valid-device-infos : any/c
valid-device-infos from the C API.
valid-device-fp-config : any/c
valid-device-fp-config from the C API.
valid-device-mem-cache-types : any/c
valid-device-mem-cache-types from the C API.
valid-device-local-mem-types : any/c
valid-device-local-mem-types from the C API.
valid-device-exec-capabilities : any/c
valid-device-exec-capabilities from the C API.
valid-command-queue-properties : any/c
valid-command-queue-properties from the C API.
valid-mem-flags : any/c
valid-mem-flags from the C API.
valid-channel-orders : any/c
valid-channel-orders from the C API.
valid-mem-object-types : any/c
valid-mem-object-types from the C API.
valid-addressing-modes : any/c
valid-addressing-modes from the C API.
valid-filter-modes : any/c
valid-filter-modes from the C API.
system-platforms : any/c
system-platforms from the C API.
platform-info : any/c
platform-info from the C API.
platform-devices : any/c
platform-devices from the C API.
device-info : any/c
device-info from the C API.
valid-context-infos : any/c
valid-context-infos from the C API.
context-info : any/c
context-info from the C API.
valid-command-queue-infos : any/c
valid-command-queue-infos from the C API.
command-queue-info : any/c
command-queue-info from the C API.
context-supported-image-formats : any/c
context-supported-image-formats from the C API.
valid-memobj-infos : any/c
valid-memobj-infos from the C API.
memobj-info : any/c
memobj-info from the C API.
valid-image-infos : any/c
valid-image-infos from the C API.
image-info : any/c
image-info from the C API.
valid-sampler-infos : any/c
valid-sampler-infos from the C API.
sampler-info : any/c
sampler-info from the C API.
valid-program-infos : any/c
valid-program-infos from the C API.
program-info : any/c
program-info from the C API.
valid-program-build-infos : any/c
valid-program-build-infos from the C API.
valid-build-statuses : any/c
valid-build-statuses from the C API.
program-build-info : any/c
program-build-info from the C API.
program-kernels : any/c
program-kernels from the C API.
valid-kernel-infos : any/c
valid-kernel-infos from the C API.
kernel-info : any/c
kernel-info from the C API.
valid-kernel-work-group-infos : any/c
valid-kernel-work-group-infos from the C API.
kernel-work-group-info : any/c
kernel-work-group-info from the C API.
valid-event-infos : any/c
valid-event-infos from the C API.
valid-command-types : any/c
valid-command-types from the C API.
valid-command-execution-statuses : any/c
valid-command-execution-statuses from the C API.
event-info : any/c
event-info from the C API.
valid-profiling-infos : any/c
valid-profiling-infos from the C API.
event-profiling-info : any/c
event-profiling-info 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.
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.