Tags: | bindings, not tested |
Authors: | Erik Charlebois |
Class | Superclass | Slots |
cl-buffer | cl-handle | |
cl-buffer-ptr | tuple | buffer offset |
cl-buffer-range | tuple | buffer offset size |
cl-context | cl-handle | |
cl-device | tuple | id type vendor-id max-compute-units max-work-item-dimensions max-work-item-sizes max-work-group-size preferred-vector-width-char preferred-vector-width-short preferred-vector-width-int preferred-vector-width-long preferred-vector-width-float preferred-vector-width-double max-clock-frequency address-bits max-mem-alloc-size image-support max-read-image-args max-write-image-args image2d-max-width image2d-max-height image3d-max-width image3d-max-height image3d-max-depth max-samplers max-parameter-size mem-base-addr-align min-data-type-align-size single-fp-config global-mem-cache-type global-mem-cacheline-size global-mem-cache-size global-mem-size max-constant-buffer-size max-constant-args local-mem? local-mem-size error-correction-support profiling-timer-resolution endian-little available compiler-available execute-kernels? execute-native-kernels? out-of-order-exec-available? profiling-available? name vendor driver-version profile version extensions |
cl-event | cl-handle | |
cl-kernel | cl-handle | |
cl-platform | tuple | id profile version name vendor extensions devices |
cl-program | cl-handle | |
cl-queue | cl-handle | |
cl-sampler | cl-handle |
cl-addressing-mode |
cl-buffer-access-mode |
cl-cache-type |
cl-command-type |
cl-device-type |
cl-execution-status |
cl-filter-mode |
cl-fp-feature |
cl-image-channel-order |
cl-image-channel-type |
cl-current-context |
cl-current-device |
cl-current-queue |
Word | Stack effect |
<cl-buffer-ptr> | ( buffer offset -- cl-buffer-ptr ) |
<cl-buffer-range> | ( buffer offset size -- cl-buffer-range ) |
<cl-buffer> | ( buffer-access-mode size initial-data -- buffer ) |
<cl-context> | ( devices -- cl-context ) |
<cl-kernel> | ( program kernel-name -- kernel ) |
<cl-program> | ( options strings -- program ) |
<cl-queue> | ( context device out-of-order? profiling? -- command-queue ) |
<cl-sampler> | ( normalized-coords? addressing-mode filter-mode -- sampler ) |
cl-barrier | ( -- ) |
cl-barrier-events | ( event/events -- ) |
cl-event-status | ( event -- execution-status ) |
cl-event-type | ( event -- command-type ) |
cl-finish | ( -- ) |
cl-flush | ( -- ) |
cl-kernel-arity | ( kernel -- arity ) |
cl-kernel-local-size | ( kernel -- size ) |
cl-kernel-name | ( kernel -- string ) |
cl-marker | ( -- event ) |
cl-normalized-coords? | ( sampler -- ? ) |
cl-out-of-order-execution? | ( command-queue -- ? ) |
cl-platforms | ( -- platforms ) |
cl-profile-counters | ( event -- queued submitted started finished ) |
cl-profiling? | ( command-queue -- ? ) |
cl-queue-copy-buffer | ( src-buffer-ptr dst-buffer-ptr size dependent-events -- event ) |
cl-queue-kernel | ( kernel args sizes dependent-events -- event ) |
cl-queue-read-buffer | ( buffer-range alien dependent-events -- event ) |
cl-queue-write-buffer | ( buffer-range alien dependent-events -- event ) |
cl-read-buffer | ( buffer-range -- byte-array ) |
cl-wait | ( event/events -- ) |
cl-write-buffer | ( buffer-range byte-array -- ) |
sampler>cl-addressing-mode | ( sampler -- addressing-mode ) |
sampler>cl-filter-mode | ( sampler -- filter-mode ) |
size_t>cl-device-type | ( size_t -- cl-device-type ) |
with-cl-state | ( context/f device/f queue/f quot -- ) |
Vocabulary | Summary |
opencl.ffi | Bindings to OpenCL |
opencl.syntax |