The cl-opencl Reference Manual

This is the cl-opencl Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:18:20 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-opencl

CFFI for OpenCL and Lisp wrapper API

Author

Gary Hollis

License

Public Domain

Defsystem Dependency

cffi-grovel (system).

Dependency

cffi (system).

Source

cl-opencl.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-opencl/cl-opencl.asd

Source

cl-opencl.asd.

Parent Component

cl-opencl (system).

ASDF Systems

cl-opencl.


3.1.2 cl-opencl/package.lisp

Source

cl-opencl.asd.

Parent Component

cl-opencl (system).

Packages

3.1.3 cl-opencl/base-types.lisp

Dependency

package.lisp (file).

Source

cl-opencl.asd.

Parent Component

cl-opencl (system).


3.1.4 cl-opencl/grovel.lisp

Dependency

base-types.lisp (file).

Source

cl-opencl.asd.

Parent Component

cl-opencl (system).


3.1.5 cl-opencl/cl-opencl-cffi.lisp

Dependency

grovel.lisp (file).

Source

cl-opencl.asd.

Parent Component

cl-opencl (system).

Public Interface

3.1.6 cl-opencl/cl-opencl.lisp

Dependency

cl-opencl-cffi.lisp (file).

Source

cl-opencl.asd.

Parent Component

cl-opencl (system).

Public Interface
Internals

3.1.7 cl-opencl/utils.lisp

Dependency

cl-opencl.lisp (file).

Source

cl-opencl.asd.

Parent Component

cl-opencl (system).

Public Interface

4 Packages

Packages are listed by definition order.


4.1 cl-opencl

Source

package.lisp.

Use List
Public Interface
Internals

4.2 cl-opencl-cffi

Source

package.lisp.

Use List
  • cffi.
  • common-lisp.
Used By List

cl-opencl.

Public Interface

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Special variables

Special Variable: +null+
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.


5.1.2 Macros

Macro: with-opencl-command-queue ((var context device &key queue-size properties) &body body)

Macro to automate queue creation and release.

Package

cl-opencl.

Source

cl-opencl.lisp.

Macro: with-opencl-context ((var platform devices &key add-platform-p callback user-data properties) &body body)

Sets var to an OpenCL context that is released after use.

Package

cl-opencl.

Source

cl-opencl.lisp.


5.1.3 Ordinary functions

Function: 3d-array->list (array &key index-mode)

Converts a 3-D array into a list. The ordering taken from sequence
is controlled via the index-mode option.

index-mode :first means (0 0 0), (1 0 0), ..., (0 1 0), (1 1 0), ... index ordering. index-mode :last means (0 0 0), (0 0 1), ..., (0 1 0), (0 1 1), ... index ordering.

So for example:
(3D-array->list #3A(((1) (4)) ((2) (5)) ((3) (6))) :index-mode :first) ==> (1 2 3 4 5 6), (3D-array->list #3A(((1) (4)) ((2) (5)) ((3) (6))) :index-mode :last) ==> (1 4 2 5 3 6).

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-build-program (program devices &key notify-fn options user-data)

Builds program for devices. notify-function must be a callback defined with cffi:defcallback, and user-data must be a CFFI pointer to allocated foreign data. Note that (callback somecallback) must be supplied as an argument as per usual CFFI usage.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-build-program-with-log (program devices &key notify-fn options user-data)
Package

cl-opencl.

Source

utils.lisp.

Function: cl-clone-kernel (kernel)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-compile-program (program devices &key options header-programs header-names callback user-data)

Compiles a program according to options for each of the devices listed. If header-programs is supplied, then header-names needs to contain the names of each of the header-programs as referred to in the program source code. When supplied, user-data should be a foreign pointer to data used by the callback function, which should be defined using cffi:defcallback. Note that the function pointer of the callback must be supplied, not the callback name.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-buffer (context &key flags size type count data)

Creates buffer with two main modes of operation:

1. Size-based.
2. Data-based.

For size-based, either set size to the number of bytes to allocate in the buffer, or set type and count to match the number of elements available in the buffer of a given type. Note that count is ignored when size or count are specified as it will be calculated when data is supplied. To partially fill space with data, create the buffer and then write to the buffer as separate queue commands.

For data-based, set type and data to the foreign type and a sequence of data to place into the buffer. Note that this means initializing the buffer with data requires the data-based option. Also note that +CL-MEM-COPY-HOST-PTR+ will automatically be set when data is supplied.

Only one of these should be used, and the size-based mode takes precedence. If neither are used, then an error is thrown.

flags should be a list of flags to join with logior or a single integer.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-command-queue (context device &key queue-size properties)

Uses clCreateCommandQueueWithProperties to create command queue with optional properties set. If queue-size is non-NIL, then the +CL-QUEUE-ON-DEVICE+ bitfield will automatically be set in the properties list. The properties list should be a list of integer constants as parsed by the groveler.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-context (platform devices &key add-platform-p callback user-data properties)

Creates context from platform and list of devices. The platform will be automatically added to the properties list if add-platform-p is non-NIL. properties can be a list of (PROPCODE1 value1 PROPCODE2 value2 ...).

callback must be a function pointer, e.g. (callback somefunction).

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-context-from-type (platform device-type &key properties callback user-data)

Creates context from platform and type of device rather than device ID.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-from-gl-buffer (context gl-buf &key flags)

Returns OpenCL buffer handle to OpenGL buffer object.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-from-gl-renderbuffer (context renderbuffer &key flags)

Returns OpenCL image handle to an OpenGL renderbuffer.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-from-gl-texture (context target gl-texture &key flags miplevel)

Returns OpenCL image handle to OpenGL texture object. target must be an OpenGL target code.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-image (context &key flags image-type image-channel-order image-channel-data-type width height depth array-size row-pitch slice-pitch data)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-kernel (program name)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-kernels-in-program (program)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-pipe (context packet-size max-packets &key flags)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-program-with-binary (context devices binary-arrays)

Creates a program given a list of devices and a list of binary data arrays, one binary data array per supplied device. Each array should contain integer elements between the values 0 and 255 inclusively to denote bytes of data. A type of (UNSIGNED-BYTE 8) is recommended for the array element type to optimize storage. Data located in files can be loaded with read-binary-data-from-pathname.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-program-with-built-in-kernels (context devices kernels)

Creates program from built-in kernel names. devices is a list of cl-device-id device handles, and kernels is either a list of Lisp strings or a single string of semicolon-separated names denoting the kernel names to include in the program. Note that all kernels must be defined in all devices for this to succeed.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-program-with-il (context il)

Creates program from intermediate language binary data. il should be an array where the elements denote bytes, so (unsigned-byte 8) is the recommended element type. read-binary-data-from-pathname is available to load binary data stored in a file into such an array.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-program-with-source (context source)

Creates program using source. source may either be a string or a list of source strings.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-sampler (context &key sampler-normalized-coords sampler-addressing-mode sampler-filter-mode sampler-mip-filter-mode-khr sampler-lod-min-khr sampler-lod-max-khr)

Creates sampler with given settings. NOTE: At the time of writing, the headers on my system did not have the CL_FILTER_NEAREST_KHR constant defined, which is the default value for the CL_SAMPLER_MIP_FILTER_MODE_KHR property. It’s not included in the groveler file for this reason.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-sub-buffer (buffer origin size &key flags)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-sub-devices (device &key equally by-counts by-affinity)

Creates num-devices sub-devices from existing device given the supplied properties list. Must set exactly one of equally, by-counts, or by-affinity.

The value of equally is the number of partitions to equally-divide the compute device into.

The value of by-counts is a list of compute unit counts for each sub-device created, one element per sub-device.

The value of by-affinity must be one of :numa, :L1, :L2, :L3, :L4, or :next, denoting division of a device into units sharing NUMA code, L1/2/3/4 cache, or division into the next smaller level of
memory (NUMA,L4,L3,L2,L1). cl-get-device-info with the parameter +CL-DEVICE-PARTITION-TYPE+ can be used on a sub-device to determine what level of partitioning occurred.

In all cases, a list of device IDs will be returned.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-create-user-event (context)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-acquire-gl-objects (queue cl-gl-mem-handles &key event-wait-list)

Enqueues actual acquisition of OpenGL objects.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-barrier (queue &key event-wait-list event-p)

Enqueues barrier with optional event wait list. With NIL event-wait-list, the enqueued command waits until all previous commands have finished. An event is returned which identifies this marker unless event-p is NIL.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-copy-buffer (queue src-buffer dst-buffer size &key src-offset dst-offset event-wait-list)

Enqueues copy from src-buffer to dst-buffer. Return value is a an event for copy completion.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-copy-buffer-rect (queue src-buffer dst-buffer &key width height depth src-row-pitch src-slice-pitch src-origin dst-row-pitch dst-slice-pitch dst-origin event-wait-list)

Enqueues rectangular copy from src-buffer to dst-buffer. Return value is an event for copy completion.

src-origin and dst-origin can be lists with 3 elements denoting the origin in the source and destination buffers respectively.

NOTE: In contrast to other similar functions, width should denote the width in bytes, while height and depth are the number of rows and slices respectively. The product (* width height depth) will be the total amount of data copied.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-copy-buffer-to-image (queue src-buffer dst-image &key src-offset dst-origin region event-wait-list)

Enqueues a buffer copy to image command. Asynchronous operation only. Return value is event for copy completion.

region can be a list (width height depth). If not supplied, default is entire destination image.

src-offset is the offset for the buffer read.

dst-origin is the origin for the image write.

event-wait-list can be a list of events which the copy command is dependent on.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-copy-image (queue src-image dst-image &key src-origin dst-origin region event-wait-list)

Enqueues an image copy command. Asynchronous operation only. Return value is event for copy completion.

region can be a list (width height depth). If not supplied, default is entire source image.

src-origin and dst-origin are source and destination origins to be read or write respectively.

event-wait-list can be a list of events which the copy command is dependent on.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-copy-image-to-buffer (queue src-image dst-buffer &key src-origin dst-offset region event-wait-list)

Enqueues an image copy to buffer command. Asynchronous operation only. Return value is event for copy completion.

region can be a list (width height depth). If not supplied, default is entire source image.

src-origin is the origin for the image read.

dst-offset is the offset for the buffer write.

event-wait-list can be a list of events which the copy command is dependent on.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-fill-buffer (queue buffer byte-pattern size &key offset event-wait-list)

Enqueues fill write to buffer. byte-pattern should be a list of (unsigned-byte 8) values that will repeatedly be written into the buffer. size should be the number of bytes in total to write.

There is only asynchronous operation for this write function. Return value is a list of an event and a cleanup function to call once the event has completed.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-fill-image (queue image pixel-data &key origin region event-wait-list)

Enqueues a fill command into the image buffer. Pixel data input must be either a single floating-point number or a 4-element list of either floats or integers depending on the channel type. See clEnqueueFillImage OpenCL documentation for rules on when to use integers or floats.

There is only one mode: Asynchronous operation. Result is a list of an event and a function to call which will cleanup foreign memory.

origin can be a list of three pixel indices (x y z) denoting the starting point for reading from the image. Default value is (0 0 0).

region can be a list of (width height depth) in pixels denoting the region of pixels to read starting at origin. Default region is the entire image.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-kernel (queue kernel njobs &key global-work-offset event-wait-list)
Package

cl-opencl.

Source

utils.lisp.

Function: cl-enqueue-map-buffer (queue buffer flags size &key blocking-p offset event-wait-list)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-map-image (queue image flags &key blocking-p origin region event-wait-list)

Enqueues an image map to buffer command. Synchronous or asynchronous operation controlled by blocking-p. Return value is:

Synchronous: List (pointer row-pitch slice-pitch)

Asynchronous: List (event pointer row-pitch slice-pitch) where event is for map operation completion.

region can be a list (width height depth). If not supplied, default is entire source image.

origin is the origin for the image.

event-wait-list can be a list of events which the copy command is dependent on.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-marker (queue &key event-wait-list event-p)

Enqueues marker with optional event wait list. With NIL event-wait-list, the enqueued command waits until all previous commands have finished. An event is returned which identifies this marker unless event-p is NIL.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-migrate-mem-objects (queue objects flags &key event-wait-list)

Enqueues migration of memory objects to the device associated with the supplied command queue. Return value is an event for command completion.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-ndrange-kernel (queue kernel global-work-size local-work-size &key global-work-offset event-wait-list)

Enqueues a data-parallel kernel for execution. global-work-size and local-work-size must be lists that share dimensionality, and if supplied, so must global-work-offset.

global-work-offset can denote a non-default offset for the global ID of each thread.

Return value is an event for kernel execution completion.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-read-buffer (queue buffer type count &key offset make-array-args event-wait-list blocking-p)

Enqueues reading from a buffer in the command queue. type should be the foreign type stored in the buffer, and count can either be the number of elements to read or a list of dimensions of the array to read. They will be used to construct a CFFI array type denoting how the foreign array data is stored, i.e. (:array element-type count) or (:array element-type . count). make-array-args will be passed to cffi:foreign-array-to-lisp along with the read data and the array-type. There are 2 main modes of operation:

blocking-p NIL: Asynchronous read. cl-enqueue-read-buffer will return a list with two elements: An event handle and a function that when called with no arguments will return the data read out of the buffer as well as cleaning up allocated foreign memory. If an error occurs while attempting to enqueue the read instruction, the foreign memory will be freed before signaling an error. The event handle returned will need to eventually have cl-release-event called on it to avoid a memory leak.

blocking-p non-NIL: Synchronous read. cl-enqueue-read-buffer will return the data read out of the buffer.

offset can denote an offset in bytes at which to start reading from the buffer.

NOTE: Do not throw away the buffer read function for asynchronous mode, as there is no reasonable way to avoid a memory leak. Even with finalization, the OpenCL queue would need to be blocked by the finalizer to avoid a segfault.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-read-buffer-rect (queue buffer type count &key width height depth buffer-origin buffer-row-pitch buffer-slice-pitch make-array-args event-wait-list blocking-p)

Enqueues rectangular reading from a buffer in the command queue. type should be the foreign type used to stored the data in the buffer, and count can either be the number of elements to read or the dimensions of an array to read from the buffer. They will be used to create a CFFI array type denoting how the foreign array data is stored, i.e. (:array element-type count) or (:array element-type
. count). make-array-args will be passed to cffi:foreign-array-to-lisp along with the read data and the array-type. There are 2 main modes of operation:

blocking-p NIL: Asynchronous read. cl-enqueue-read-buffer will return a list with two elements: An event handle and a function that when called with no arguments will return the data read out of the buffer as well as cleaning up allocated foreign memory. If an error occurs while attempting to enqueue the read instruction, the foreign memory will be freed before signaling an error. The event handle returned will need to eventually have cl-release-event called on it to avoid a memory leak.

blocking-p non-NIL: Synchronous read. cl-enqueue-read-buffer will return the data read out of the buffer.

buffer-origin can be NIL or a list of 3 elements denoting the 3-D origin to start readinfrom the buffer. Set unused dimensions’ origins to 0.

width, height, and depth need to be set to reasonable values. Note that width denotes the number of elements rather than bytes. You can make them match your array-type, but all that is required is that the array-type has enough space to store the data.

NOTE: Do not throw away the buffer read function for asynchronous mode, as there is no reasonable way to avoid a memory leak. Even with finalization, the OpenCL queue would need to be blocked by the finalizer to avoid a segfault.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-read-image (queue image &key bytes-p blocking-p origin region row-pitch slice-pitch event-wait-list)

Enqueues a read command into the image buffer. Image data result is either a 3-D array of pixel->lisp formatted data matching channel dimensions of the image, or if bytes-p is non-NIL, an array
of (unsigned-byte 8) data matching the size of the image.

There are two modes of operation: Synchronous and asynchronous.

blocking-p non-NIL: Synchronous operation. Result is returned directly. blocking-p NIL: Asynchronous operation. Result is a list of an event and a function to call which will return the previously mentioned array of formatted data.

origin can be a list of three pixel indices (x y z) denoting the starting point for reading from the image. Default value is (0 0 0).

region can be a list of (width height depth) in pixels denoting the region of pixels to read starting at origin. Default region is the entire image.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-release-gl-objects (queue cl-gl-mem-handles &key event-wait-list)

Enqueues release of previously acquired OpenGL objects.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-unmap-mem-object (queue obj map-ptr &key event-wait-list)

Enqueues unmapping obj which was mapped to map-ptr. Asynchronous operation only. Return value is an event for operation completion.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-write-buffer (queue buffer element-type data &key blocking-p offset event-wait-list)

Enqueues write instructions for the buffer and supplied data. There are two modes of operation: blocking and non-blocking.

data is a sequence of data to write into the buffer.

blocking-p is NIL: Asynchronous operation. Data is queued for writing, but not necessarily written on return. The return value is a list containing an event handle and a cleanup function to free the foreign data once the write has completed.

blocking-p is non-NIL: Synchronous operation. The return value
is irrelevant and no foreign memory management is necessary.

element-type should be a CFFI type.

offset is a byte-offset into the output buffer.

event-wait-list can be a list of events required to finish before the write should occur.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-write-buffer-rect (queue buffer element-type data &key width height depth buffer-origin buffer-row-pitch buffer-slice-pitch event-wait-list blocking-p)

Enqueues rectangular write into buffer. There are two modes of operation:

blocking-p NIL: Asynchronous write. Return value is a list
containing an event handle and a cleanup function to call once the event has completed in order to free allocated foreign memory.

data should be a sequence or a 3-D array. If data is a 3-D array, then width-height-depth will be set to match the array. If data is a sequence, then the width-height-depth parameters should match the number of elements in the sequence. The 3D-array->list utility function will be used to convert a 3-D array into a list before exporting to foreign memory if a 3-D array is supplied. To control index ordering, call 3D-array->list directly or supply a sequence. Default behavior of 3D-array->sequence is :index-mode :first, see function documentation. OpenCL uses :first index convention.

blocking-p non-NIL: Synchronous write. Return value is NIL.

buffer-origin can be a list of integers to denote an offset in the buffer write destination (see OpenCL documentation), or NIL to denote the default non-offset write.

Set width, height, and depth to reasonable values if using a data list. Note that width refers to the number of elements rather than bytes, which is computed from element-type.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-enqueue-write-image (queue image data &key bytes-p blocking-p origin region row-pitch slice-pitch event-wait-list)

Enqueues a write command into the image buffer. Image data input must either be 3-D array of pixel->lisp formatted data matching the channel dimensions of the image, or if bytes-p is non-NIL, an array of (unsigned-byte 8) data matching the size of the image.

There are two modes of operation: Synchronous and asynchronous.

blocking-p non-NIL: Synchronous operation. Result is NIL.

blocking-p NIL: Asynchronous operation. Result is a list of an event and a function to call which will cleanup foreign memory.

origin can be a list of three pixel indices (x y z) denoting the starting point for reading from the image. Default value is (0 0 0).

region can be a list of (width height depth) in pixels denoting the region of pixels to read starting at origin. Default region is the entire image.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-finish (queue)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-flush (queue)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-command-queue-info (queue param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-device-and-host-timer (device)

Returns list of (device-timestamp host-timestamp).

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-device-ids (platform-id device-type)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-device-info (device param)

Returns platform information.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-event-info (event param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-event-profiling-info (event param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-gl-object-info (obj)

Returns a list (gl-type gl-id) for the OpenCL object obj.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-gl-texture-info (image param)

param can take the following values:

+CL-GL-TEXTURE-TARGET+ +CL-GL-MIPMAP-LEVEL+

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-host-timer (device)

Returns timestamp for host.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-image-info (image param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-kernel-arg-info (kernel arg-index param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-kernel-info (kernel param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-kernel-sub-group-info (kernel device param &key input)

Queries kernel sub-group information. input must be set to reasonable values per param value.

+CL-KERNEL-MAX-SUB-GROUP-SIZE-FOR-NDRANGE+: list of integers. +CL-KERNEL-SUB-GROUP-COUNT-FOR-NDRANGE+: list of integers. +CL-KERNEL-LOCAL-SIZE-FOR-SUB-GROUP-COUNT+: integer. +CL-KERNEL-MAX-NUM-SUB-GROUPS+: ignored. +CL-KERNEL-COMPILE-NUM-SUB-GROUPS+: ignored.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-kernel-work-group-info (kernel device param)

Queries kernel for information about running on given device.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-mem-object-info (obj param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-pipe-info (pipe param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-platform-ids ()
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-platform-info (platform param)

Returns platform information.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-program-binaries (program)

Convenience function returning list of binary data arrays for the binaries of a program. Wrapper around necessary calls to cl-get-program-info and foreign memory management.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-program-build-info (program device param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-program-info (program param)

Get program info from parameters. NOTE: +CL-PROGRAM-BINARIES+ triggers an error message referring to the helper function needed for extracting binaries.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-sampler-info (sampler param)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-get-supported-image-formats (context flags &key image-type)

Returns list of plists for the supported image formats.

Package

cl-opencl.

Source

cl-opencl.lisp.

Links programs into executables for devices. programs must be a list of programs to include in the executable. callback can be a the function pointer to a callback defined via cffi:defcallback, and user-data can be a foreign pointer to data supplied to that callback.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-command-queue (queue)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-context (context)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-device (device)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-event (event)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-kernel (kernel)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-mem-object (obj)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-program (program)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-release-sampler (sampler)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-command-queue (queue)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-context (context)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-device (device)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-event (event)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-kernel (kernel)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-mem-object (obj)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-program (program)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-retain-sampler (sampler)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-default-device-command-queue (context device queue)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-event-callback (event callback-type callback &key user-data)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-kernel-arg (kernel arg-index &key value type count size)

Sets kernel argument. If value is NIL, local memory will be supplied to the kernel. Otherwise, the value will be assumed to be of foreign type. Size is determined by the type and count unless size is explicitly specified. Note that count only has meaning when value is not supplied and therefore only matters when allocating local memory as a kernel argument.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-kernel-arg-svm-pointer (kernel arg-index value)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-kernel-exec-info (kernel &key svm-pointers fine-grain-system)

Adjusts kernel execution settings. svm-pointers can be a list of SVM foreign pointer objects. fine-grain-system can be either +CL-TRUE+ or +CL-FALSE+, but the default depends on the system. Both arguments can be set to adjust both settings simultaneously.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-mem-object-destructor-callback (obj callback &key user-data)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-program-release-callback (program callback &key user-data)

Sets release callback for program. callback must be a function pointer to a callback defined via cffi:defcallback. user-data can be a pointer to foreign data given to the callback.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-set-user-event-status (event status)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-svm-alloc (context flags size &key alignment)

Returns SVM pointer on success. Note that there is no error status returned by OpenCL for clSVMAlloc, so neither is there any error management in this API.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-svm-free (context svm-pointer)

Frees SVM pointer on success. Note that there is no error status returned by OpenCL for clSVMFree, so neither is there any error management in this API.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-unload-platform-compiler (platform)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-wait-and-release-events (events)

Waits for and releases events once they have completed. If value is a list, it is assumed to be a list of at least (event cleanup), with possible later elements of the list. If a cleanup function is detected, then the return value for that entry will be the return value of the cleanup. This is useful for cleanup functions which also return an enqueued read or other result.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: cl-wait-for-events (events)

Waits for events and returns input event list for possible release. If an event is actually a list (event cleanup), then the cleanup will not be called but will still be passed along to output.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: clbuildprogram (program num-devices device-list options pfn-notify user-data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clclonekernel (source-kernel errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcompileprogram (program num-devices device-list options num-input-headers input-headers header-include-names pfn-notify user-data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatebuffer (context flags size host-ptr errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatebufferwithproperties (context properties flags size host-ptr errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatecommandqueue (context device properties errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatecommandqueuewithproperties (context device properties errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatecommandqueuewithpropertieskhr (context device properties errcode_ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatecontext (properties num-devices devices pfn-notify user-data errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatecontextfromtype (properties device-type pfn-notify user-data errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateeventfromglsynckhr (context cl-glsync errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatefromglbuffer (context flags bufobj errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatefromglrenderbuffer (context flags renderbuffer errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatefromgltexture (context flags target miplevel texture errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatefromgltexture2d (context flags target miplevel texture errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatefromgltexture3d (context flags target miplevel texture errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateimage (context flags image-format image-desc host-ptr errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateimage2d (context flags image-format image-width image-height image-row-pitch host-ptr errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateimage3d (context flags image-format image-width image-height image-depth image-row-pitch image-slice-pitch host-ptr errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateimagewithproperties (context properties flags image-format image-desc host-ptr errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatekernel (program kernel-name errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatekernelsinprogram (program num-kernels kernels num-kernels-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatepipe (context flags pipe-packet-size pipe-max-packets properties errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateprogramwithbinary (context num-devices device-list lengths binaries binary-status errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateprogramwithbuiltinkernels (context num-devices device-list kernel-names errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateprogramwithil (context il length errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateprogramwithilkhr (context il length errcode_ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateprogramwithsource (context count strings lengths errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatesampler (context normalized-coords addressing-mode filter-mode errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatesamplerwithproperties (context sampler-properties errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatesubbuffer (buffer flags buffer-create-type buffer-create-info errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatesubdevices (in-device properties num-devices out-devices num-devices-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreatesubdevicesext (in_device properties num_entries out_devices num_devices)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clcreateuserevent (context errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueueacquireglobjects (command-queue num-objects mem-objects num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueueacquiregrallocobjectsimg (command_queue num_objects mem_objects num_events_in_wait_list event_wait_list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuebarrier (command-queue)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuebarrierwithwaitlist (command-queue num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuecopybuffer (command-queue src-buffer dst-buffer src-offset dst-offset size num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuecopybufferrect (command-queue src-buffer dst-buffer src-origin dst-origin region src-row-pitch src-slice-pitch dst-row-pitch dst-slice-pitch num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuecopybuffertoimage (command-queue src-buffer dst-image src-offset dst-origin region num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuecopyimage (command-queue src-image dst-image src-origin dst-origin region num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuecopyimagetobuffer (command-queue src-image dst-buffer src-origin region dst-offset num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuefillbuffer (command-queue buffer pattern pattern-size offset size num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuefillimage (command-queue image fill-color origin region num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuemapbuffer (command-queue buffer blocking-map map-flags offset size num-events-in-wait-list event-wait-list event errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuemapimage (command-queue image blocking-map map-flags origin region image-row-pitch image-slice-pitch num-events-in-wait-list event-wait-list event errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuemarker (command-queue event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuemarkerwithwaitlist (command-queue num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuemigratememobjects (command-queue num-mem-objects mem-objects flags num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuenativekernel (command-queue user-func args cb-args num-mem-objects mem-list args-mem-loc num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuendrangekernel (command-queue kernel work-dim global-work-offset global-work-size local-work-size num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuereadbuffer (command-queue buffer blocking-read offset size ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuereadbufferrect (command-queue buffer blocking-read buffer-origin host-origin region buffer-row-pitch buffer-slice-pitch host-row-pitch host-slice-pitch ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuereadimage (command-queue image blocking-read origin region row-pitch slice-pitch ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuereleaseglobjects (command-queue num-objects mem-objects num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuereleasegrallocobjectsimg (command_queue num_objects mem_objects num_events_in_wait_list event_wait_list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmfree (command-queue num-svm-pointers svm-pointers[] pfn-free-func user-data num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmfreearm (command_queue num_svm_pointers svm_pointers pfn_free_func user_data num_events_in_wait_list event_wait_list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmmap (command-queue blocking-map flags svm-ptr size num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmmaparm (command_queue blocking_map flags svm_ptr size num_events_in_wait_list event_wait_list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmmemcpy (command-queue blocking-copy dst-ptr src-ptr size num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmmemcpyarm (command_queue blocking_copy dst_ptr src_ptr size num_events_in_wait_list event_wait_list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmmemfill (command-queue svm-ptr pattern pattern-size size num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmmemfillarm (command_queue svm_ptr pattern pattern_size size num_events_in_wait_list event_wait_list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmmigratemem (command-queue num-svm-pointers svm-pointers sizes flags num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmunmap (command-queue svm-ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuesvmunmaparm (command_queue svm_ptr num_events_in_wait_list event_wait_list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuetask (command-queue kernel num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueueunmapmemobject (command-queue memobj mapped-ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuewaitforevents (command-queue num-events event-list)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuewritebuffer (command-queue buffer blocking-write offset size ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuewritebufferrect (command-queue buffer blocking-write buffer-origin host-origin region buffer-row-pitch buffer-slice-pitch host-row-pitch host-slice-pitch ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clenqueuewriteimage (command-queue image blocking-write origin region input-row-pitch input-slice-pitch ptr num-events-in-wait-list event-wait-list event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clfinish (command-queue)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clflush (command-queue)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetcommandqueueinfo (command-queue param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetdeviceandhosttimer (device device-timestamp host-timestamp)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetdeviceids (platform device-type num-entries devices ndevices)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetdeviceimageinfoqcom (device image_width image_height image_format param_name param_value_size param_value param_value_size_ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetdeviceinfo (device param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgeteventinfo (event param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgeteventprofilinginfo (event param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetextensionfunctionaddress (func-name)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetextensionfunctionaddressforplatform (platform func-name)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetglcontextinfokhr (properties param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetglobjectinfo (memobj gl-object-type gl-object-name)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetgltextureinfo (memobj param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgethosttimer (device host-timestamp)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetimageinfo (image param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetkernelarginfo (kernel arg-indx param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetkernelinfo (kernel param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetkernelsubgroupinfo (kernel device param-name input-value-size input-value param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetkernelsubgroupinfokhr (in_kernel in_device param_name input_value_size input_value param_value_size param_value param_value_size_ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetkernelworkgroupinfo (kernel device param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetmemobjectinfo (memobj param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetpipeinfo (pipe param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetplatformids (num-entries platforms nplatforms)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetplatforminfo (platform param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetprogrambuildinfo (program device param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetprograminfo (program param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetsamplerinfo (sampler param-name param-value-size param-value param-value-size-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clgetsupportedimageformats (context flags image-type num-entries image-formats num-image-formats)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clicdgetplatformidskhr (num_entries platforms num_platforms)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: climportmemoryarm (context flags properties memory size errcode_ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: cllinkprogram (context num-devices device-list options num-input-programs input-programs pfn-notify user-data errcode-ret)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: cllogmessagestostderrapple (errstr private_info cb user_data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: cllogmessagestostdoutapple (errstr private_info cb user_data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: cllogmessagestosystemlogapple (errstr private_info cb user_data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleasecommandqueue (command-queue)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleasecontext (context)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleasedevice (device)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleasedeviceext (device)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleaseevent (event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleasekernel (kernel)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleasememobject (memobj)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleaseprogram (program)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clreleasesampler (sampler)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretaincommandqueue (command-queue)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretaincontext (context)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretaindevice (device)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretaindeviceext (device)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretainevent (event)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretainkernel (kernel)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretainmemobject (memobj)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretainprogram (program)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clretainsampler (sampler)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetcommandqueueproperty (command-queue properties enable old-properties)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetdefaultdevicecommandqueue (context device command-queue)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clseteventcallback (event command-exec-callback-type pfn-notify user-data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetkernelarg (kernel arg-index arg-size arg-value)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetkernelargsvmpointer (kernel arg-index arg-value)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetkernelargsvmpointerarm (kernel arg_index arg_value)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetkernelexecinfo (kernel param-name param-value-size param-value)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetkernelexecinfoarm (kernel param_name param_value_size param_value)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetmemobjectdestructorapple (memobj pfn_notify user_data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetmemobjectdestructorcallback (memobj pfn-notify user-data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetprogramreleasecallback (program pfn-notify user-data)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetprogramspecializationconstant (program spec-id spec-size spec-value)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsetusereventstatus (event execution-status)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsvmalloc (context flags size alignment)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsvmallocarm (context flags size alignment)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsvmfree (context svm-pointer)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clsvmfreearm (context svm_pointer)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clterminatecontextkhr (context)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clunloadcompiler ()
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clunloadplatformcompiler (platform)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: clwaitforevents (num-events event-list)
Package

cl-opencl-cffi.

Source

cl-opencl-cffi.lisp.

Function: describe-opencl-devices (platform-id device-type)

Creates a list of alists, one alist per device, containing all the results of cl-get-device-ids. The first element of each alist is (:device-id ID), using the same ID as returned by cl-get-device-ids.

Note that if a parameter causes an error, its result will not be included in the alist.

Package

cl-opencl.

Source

utils.lisp.

Function: describe-opencl-platforms ()

Creates a list of alists, one alist per platform, containing all the results of cl-get-platform-ids. The first element of each alist is (:platform-id ID), using the same ID as returned by cl-get-platform-ids.

Note that if a parameter causes an error, its result will not be included in the alist.

Package

cl-opencl.

Source

utils.lisp.

Function: fill-image-channel-type->data-type (channel-data-type)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: find-opencl-platform-by-name (name)

Searches for an OpenCL platform by the platform name

Package

cl-opencl.

Source

utils.lisp.

Function: get-opencl-kernel-work-size (kernel device njobs)

Returns a list (nglobal nlocal) for the global work size and local work size suitable for the kernel. Note that this enforces nglobal being an integer multiple of nlocal, so there is some possible inefficiency and you will need to ensure that your kernel knows how many submitted jobs actually need to be run. If nglobal is less than the recommended local work size, then only nglobal jobs will be enqueued.

Package

cl-opencl.

Source

utils.lisp.

Function: read-binary-data-from-pathname (pathname)

Reads binary data from file located at pathname and returns an array of (unsigned-byte 8) data suitable for use with the OpenCL high-level API binary data functions,
e.g. cl-create-program-with-binary.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: release-opencl-event (event)

Handles release for event or (event cleanup) input.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: sequence->3d-array (sequence width height depth &key index-mode make-array-key-args)

Converts sequence into 3-D array of width-height-depth dimensions.
make-array-key-args will be supplied to make-array. The ordering
taken from sequence is controlled via the index-mode option.

index-mode :first means (0 0 0), (1 0 0), ..., (0 1 0), (1 1 0), ... index ordering.
index-mode :last means (0 0 0), (0 0 1), ..., (0 1 0), (0 1 1), ... index ordering.

So for example:
(sequence->3d-array (list 1 2 3 4 5 6) 3 2 1 :index-mode :first) ==> #3A(((1) (4)) ((2) (5)) ((3) (6))), (sequence->3d-array (list 1 2 3 4 5 6) 3 2 1 :index-mode :last) ==> #3A(((1) (2)) ((3) (4)) ((5) (6)))

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: write-binary-data-to-pathname (data pathname &key if-exists if-does-not-exist)

Writes binary data to file located at pathname from an array
of (unsigned-byte 8) data suitable for use with the OpenCL high-level API binary data functions.

Package

cl-opencl.

Source

cl-opencl.lisp.


5.2 Internals


5.2.1 Macros

Macro: case= (term &body forms)

This is in response to issues I currently do not understand when trying to use CFFI groveler constant values in a case statement. Instead of repetitive cond = tests, I use this macro like a case statement.

Package

cl-opencl.

Source

cl-opencl.lisp.

Macro: check-opencl-error (err cleanup &body body)

Macro for automating error management with two modes:

1. NULL err denoting error code will be returned by body.

2. Symbol err-address to denote symbol to use for error address so as to interact with OpenCL CFFI functions.

If cleanup is non-NIL, it must be a function called before signaling an error. Useful for preventing memory leaks.

Package

cl-opencl.

Source

cl-opencl.lisp.


5.2.2 Ordinary functions

Function: bytes->pixel! (byte-array ptr format &key start)

Places pixel data from an array of (unsigned-byte 8) data at start in foreign ptr formatted by plist format and using Lisp data lisp-pixel suitable for that pixel type. 1-channel pixels use numeric types, and multi-channel pixels use a list of numerical values.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: event-wait-list->foreign (ewl)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: format->type-info (format)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: image-channel-type->data-type (channel-data-type)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: join-flags (flags)
Package

cl-opencl.

Source

cl-opencl.lisp.

Function: lisp->pixel! (lisp-pixel ptr format)

Places pixel data in foreign ptr formatted by plist format and using Lisp data lisp-pixel suitable for that pixel type. 1-channel pixels use numeric types, and multi-channel pixels use a list of numerical values.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: pixel->bytes! (ptr format byte-array &key start)

Converts pixel data at ptr into (unsigned-byte 8) data and places it in byte-array starting at start.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: pixel->lisp (pixel-ptr format)

Takes foreign data located in pixel-ptr with plist format and returns Lisp data suitable for that pixel type. For 1-channel pixels, numerical value is returned. For multi-channel pixels, a list of numerical values is returned.

Package

cl-opencl.

Source

cl-opencl.lisp.

Function: zero-mem (ptr type)

Zeroes data at ptr of type

Package

cl-opencl.

Source

cl-opencl.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   3  
B   C   D   E   F   G   I   J   L   M   P   R   S   W   Z  
Index Entry  Section

3
3d-array->list: Public ordinary functions

B
bytes->pixel!: Private ordinary functions

C
case=: Private macros
check-opencl-error: Private macros
cl-build-program: Public ordinary functions
cl-build-program-with-log: Public ordinary functions
cl-clone-kernel: Public ordinary functions
cl-compile-program: Public ordinary functions
cl-create-buffer: Public ordinary functions
cl-create-command-queue: Public ordinary functions
cl-create-context: Public ordinary functions
cl-create-context-from-type: Public ordinary functions
cl-create-from-gl-buffer: Public ordinary functions
cl-create-from-gl-renderbuffer: Public ordinary functions
cl-create-from-gl-texture: Public ordinary functions
cl-create-image: Public ordinary functions
cl-create-kernel: Public ordinary functions
cl-create-kernels-in-program: Public ordinary functions
cl-create-pipe: Public ordinary functions
cl-create-program-with-binary: Public ordinary functions
cl-create-program-with-built-in-kernels: Public ordinary functions
cl-create-program-with-il: Public ordinary functions
cl-create-program-with-source: Public ordinary functions
cl-create-sampler: Public ordinary functions
cl-create-sub-buffer: Public ordinary functions
cl-create-sub-devices: Public ordinary functions
cl-create-user-event: Public ordinary functions
cl-enqueue-acquire-gl-objects: Public ordinary functions
cl-enqueue-barrier: Public ordinary functions
cl-enqueue-copy-buffer: Public ordinary functions
cl-enqueue-copy-buffer-rect: Public ordinary functions
cl-enqueue-copy-buffer-to-image: Public ordinary functions
cl-enqueue-copy-image: Public ordinary functions
cl-enqueue-copy-image-to-buffer: Public ordinary functions
cl-enqueue-fill-buffer: Public ordinary functions
cl-enqueue-fill-image: Public ordinary functions
cl-enqueue-kernel: Public ordinary functions
cl-enqueue-map-buffer: Public ordinary functions
cl-enqueue-map-image: Public ordinary functions
cl-enqueue-marker: Public ordinary functions
cl-enqueue-migrate-mem-objects: Public ordinary functions
cl-enqueue-ndrange-kernel: Public ordinary functions
cl-enqueue-read-buffer: Public ordinary functions
cl-enqueue-read-buffer-rect: Public ordinary functions
cl-enqueue-read-image: Public ordinary functions
cl-enqueue-release-gl-objects: Public ordinary functions
cl-enqueue-unmap-mem-object: Public ordinary functions
cl-enqueue-write-buffer: Public ordinary functions
cl-enqueue-write-buffer-rect: Public ordinary functions
cl-enqueue-write-image: Public ordinary functions
cl-finish: Public ordinary functions
cl-flush: Public ordinary functions
cl-get-command-queue-info: Public ordinary functions
cl-get-device-and-host-timer: Public ordinary functions
cl-get-device-ids: Public ordinary functions
cl-get-device-info: Public ordinary functions
cl-get-event-info: Public ordinary functions
cl-get-event-profiling-info: Public ordinary functions
cl-get-gl-object-info: Public ordinary functions
cl-get-gl-texture-info: Public ordinary functions
cl-get-host-timer: Public ordinary functions
cl-get-image-info: Public ordinary functions
cl-get-kernel-arg-info: Public ordinary functions
cl-get-kernel-info: Public ordinary functions
cl-get-kernel-sub-group-info: Public ordinary functions
cl-get-kernel-work-group-info: Public ordinary functions
cl-get-mem-object-info: Public ordinary functions
cl-get-pipe-info: Public ordinary functions
cl-get-platform-ids: Public ordinary functions
cl-get-platform-info: Public ordinary functions
cl-get-program-binaries: Public ordinary functions
cl-get-program-build-info: Public ordinary functions
cl-get-program-info: Public ordinary functions
cl-get-sampler-info: Public ordinary functions
cl-get-supported-image-formats: Public ordinary functions
cl-link-program: Public ordinary functions
cl-release-command-queue: Public ordinary functions
cl-release-context: Public ordinary functions
cl-release-device: Public ordinary functions
cl-release-event: Public ordinary functions
cl-release-kernel: Public ordinary functions
cl-release-mem-object: Public ordinary functions
cl-release-program: Public ordinary functions
cl-release-sampler: Public ordinary functions
cl-retain-command-queue: Public ordinary functions
cl-retain-context: Public ordinary functions
cl-retain-device: Public ordinary functions
cl-retain-event: Public ordinary functions
cl-retain-kernel: Public ordinary functions
cl-retain-mem-object: Public ordinary functions
cl-retain-program: Public ordinary functions
cl-retain-sampler: Public ordinary functions
cl-set-default-device-command-queue: Public ordinary functions
cl-set-event-callback: Public ordinary functions
cl-set-kernel-arg: Public ordinary functions
cl-set-kernel-arg-svm-pointer: Public ordinary functions
cl-set-kernel-exec-info: Public ordinary functions
cl-set-mem-object-destructor-callback: Public ordinary functions
cl-set-program-release-callback: Public ordinary functions
cl-set-user-event-status: Public ordinary functions
cl-svm-alloc: Public ordinary functions
cl-svm-free: Public ordinary functions
cl-unload-platform-compiler: Public ordinary functions
cl-wait-and-release-events: Public ordinary functions
cl-wait-for-events: Public ordinary functions
clbuildprogram: Public ordinary functions
clclonekernel: Public ordinary functions
clcompileprogram: Public ordinary functions
clcreatebuffer: Public ordinary functions
clcreatebufferwithproperties: Public ordinary functions
clcreatecommandqueue: Public ordinary functions
clcreatecommandqueuewithproperties: Public ordinary functions
clcreatecommandqueuewithpropertieskhr: Public ordinary functions
clcreatecontext: Public ordinary functions
clcreatecontextfromtype: Public ordinary functions
clcreateeventfromglsynckhr: Public ordinary functions
clcreatefromglbuffer: Public ordinary functions
clcreatefromglrenderbuffer: Public ordinary functions
clcreatefromgltexture: Public ordinary functions
clcreatefromgltexture2d: Public ordinary functions
clcreatefromgltexture3d: Public ordinary functions
clcreateimage: Public ordinary functions
clcreateimage2d: Public ordinary functions
clcreateimage3d: Public ordinary functions
clcreateimagewithproperties: Public ordinary functions
clcreatekernel: Public ordinary functions
clcreatekernelsinprogram: Public ordinary functions
clcreatepipe: Public ordinary functions
clcreateprogramwithbinary: Public ordinary functions
clcreateprogramwithbuiltinkernels: Public ordinary functions
clcreateprogramwithil: Public ordinary functions
clcreateprogramwithilkhr: Public ordinary functions
clcreateprogramwithsource: Public ordinary functions
clcreatesampler: Public ordinary functions
clcreatesamplerwithproperties: Public ordinary functions
clcreatesubbuffer: Public ordinary functions
clcreatesubdevices: Public ordinary functions
clcreatesubdevicesext: Public ordinary functions
clcreateuserevent: Public ordinary functions
clenqueueacquireglobjects: Public ordinary functions
clenqueueacquiregrallocobjectsimg: Public ordinary functions
clenqueuebarrier: Public ordinary functions
clenqueuebarrierwithwaitlist: Public ordinary functions
clenqueuecopybuffer: Public ordinary functions
clenqueuecopybufferrect: Public ordinary functions
clenqueuecopybuffertoimage: Public ordinary functions
clenqueuecopyimage: Public ordinary functions
clenqueuecopyimagetobuffer: Public ordinary functions
clenqueuefillbuffer: Public ordinary functions
clenqueuefillimage: Public ordinary functions
clenqueuemapbuffer: Public ordinary functions
clenqueuemapimage: Public ordinary functions
clenqueuemarker: Public ordinary functions
clenqueuemarkerwithwaitlist: Public ordinary functions
clenqueuemigratememobjects: Public ordinary functions
clenqueuenativekernel: Public ordinary functions
clenqueuendrangekernel: Public ordinary functions
clenqueuereadbuffer: Public ordinary functions
clenqueuereadbufferrect: Public ordinary functions
clenqueuereadimage: Public ordinary functions
clenqueuereleaseglobjects: Public ordinary functions
clenqueuereleasegrallocobjectsimg: Public ordinary functions
clenqueuesvmfree: Public ordinary functions
clenqueuesvmfreearm: Public ordinary functions
clenqueuesvmmap: Public ordinary functions
clenqueuesvmmaparm: Public ordinary functions
clenqueuesvmmemcpy: Public ordinary functions
clenqueuesvmmemcpyarm: Public ordinary functions
clenqueuesvmmemfill: Public ordinary functions
clenqueuesvmmemfillarm: Public ordinary functions
clenqueuesvmmigratemem: Public ordinary functions
clenqueuesvmunmap: Public ordinary functions
clenqueuesvmunmaparm: Public ordinary functions
clenqueuetask: Public ordinary functions
clenqueueunmapmemobject: Public ordinary functions
clenqueuewaitforevents: Public ordinary functions
clenqueuewritebuffer: Public ordinary functions
clenqueuewritebufferrect: Public ordinary functions
clenqueuewriteimage: Public ordinary functions
clfinish: Public ordinary functions
clflush: Public ordinary functions
clgetcommandqueueinfo: Public ordinary functions
clgetdeviceandhosttimer: Public ordinary functions
clgetdeviceids: Public ordinary functions
clgetdeviceimageinfoqcom: Public ordinary functions
clgetdeviceinfo: Public ordinary functions
clgeteventinfo: Public ordinary functions
clgeteventprofilinginfo: Public ordinary functions
clgetextensionfunctionaddress: Public ordinary functions
clgetextensionfunctionaddressforplatform: Public ordinary functions
clgetglcontextinfokhr: Public ordinary functions
clgetglobjectinfo: Public ordinary functions
clgetgltextureinfo: Public ordinary functions
clgethosttimer: Public ordinary functions
clgetimageinfo: Public ordinary functions
clgetkernelarginfo: Public ordinary functions
clgetkernelinfo: Public ordinary functions
clgetkernelsubgroupinfo: Public ordinary functions
clgetkernelsubgroupinfokhr: Public ordinary functions
clgetkernelworkgroupinfo: Public ordinary functions
clgetmemobjectinfo: Public ordinary functions
clgetpipeinfo: Public ordinary functions
clgetplatformids: Public ordinary functions
clgetplatforminfo: Public ordinary functions
clgetprogrambuildinfo: Public ordinary functions
clgetprograminfo: Public ordinary functions
clgetsamplerinfo: Public ordinary functions
clgetsupportedimageformats: Public ordinary functions
clicdgetplatformidskhr: Public ordinary functions
climportmemoryarm: Public ordinary functions
cllinkprogram: Public ordinary functions
cllogmessagestostderrapple: Public ordinary functions
cllogmessagestostdoutapple: Public ordinary functions
cllogmessagestosystemlogapple: Public ordinary functions
clreleasecommandqueue: Public ordinary functions
clreleasecontext: Public ordinary functions
clreleasedevice: Public ordinary functions
clreleasedeviceext: Public ordinary functions
clreleaseevent: Public ordinary functions
clreleasekernel: Public ordinary functions
clreleasememobject: Public ordinary functions
clreleaseprogram: Public ordinary functions
clreleasesampler: Public ordinary functions
clretaincommandqueue: Public ordinary functions
clretaincontext: Public ordinary functions
clretaindevice: Public ordinary functions
clretaindeviceext: Public ordinary functions
clretainevent: Public ordinary functions
clretainkernel: Public ordinary functions
clretainmemobject: Public ordinary functions
clretainprogram: Public ordinary functions
clretainsampler: Public ordinary functions
clsetcommandqueueproperty: Public ordinary functions
clsetdefaultdevicecommandqueue: Public ordinary functions
clseteventcallback: Public ordinary functions
clsetkernelarg: Public ordinary functions
clsetkernelargsvmpointer: Public ordinary functions
clsetkernelargsvmpointerarm: Public ordinary functions
clsetkernelexecinfo: Public ordinary functions
clsetkernelexecinfoarm: Public ordinary functions
clsetmemobjectdestructorapple: Public ordinary functions
clsetmemobjectdestructorcallback: Public ordinary functions
clsetprogramreleasecallback: Public ordinary functions
clsetprogramspecializationconstant: Public ordinary functions
clsetusereventstatus: Public ordinary functions
clsvmalloc: Public ordinary functions
clsvmallocarm: Public ordinary functions
clsvmfree: Public ordinary functions
clsvmfreearm: Public ordinary functions
clterminatecontextkhr: Public ordinary functions
clunloadcompiler: Public ordinary functions
clunloadplatformcompiler: Public ordinary functions
clwaitforevents: Public ordinary functions

D
describe-opencl-devices: Public ordinary functions
describe-opencl-platforms: Public ordinary functions

E
event-wait-list->foreign: Private ordinary functions

F
fill-image-channel-type->data-type: Public ordinary functions
find-opencl-platform-by-name: Public ordinary functions
format->type-info: Private ordinary functions
Function, 3d-array->list: Public ordinary functions
Function, bytes->pixel!: Private ordinary functions
Function, cl-build-program: Public ordinary functions
Function, cl-build-program-with-log: Public ordinary functions
Function, cl-clone-kernel: Public ordinary functions
Function, cl-compile-program: Public ordinary functions
Function, cl-create-buffer: Public ordinary functions
Function, cl-create-command-queue: Public ordinary functions
Function, cl-create-context: Public ordinary functions
Function, cl-create-context-from-type: Public ordinary functions
Function, cl-create-from-gl-buffer: Public ordinary functions
Function, cl-create-from-gl-renderbuffer: Public ordinary functions
Function, cl-create-from-gl-texture: Public ordinary functions
Function, cl-create-image: Public ordinary functions
Function, cl-create-kernel: Public ordinary functions
Function, cl-create-kernels-in-program: Public ordinary functions
Function, cl-create-pipe: Public ordinary functions
Function, cl-create-program-with-binary: Public ordinary functions
Function, cl-create-program-with-built-in-kernels: Public ordinary functions
Function, cl-create-program-with-il: Public ordinary functions
Function, cl-create-program-with-source: Public ordinary functions
Function, cl-create-sampler: Public ordinary functions
Function, cl-create-sub-buffer: Public ordinary functions
Function, cl-create-sub-devices: Public ordinary functions
Function, cl-create-user-event: Public ordinary functions
Function, cl-enqueue-acquire-gl-objects: Public ordinary functions
Function, cl-enqueue-barrier: Public ordinary functions
Function, cl-enqueue-copy-buffer: Public ordinary functions
Function, cl-enqueue-copy-buffer-rect: Public ordinary functions
Function, cl-enqueue-copy-buffer-to-image: Public ordinary functions
Function, cl-enqueue-copy-image: Public ordinary functions
Function, cl-enqueue-copy-image-to-buffer: Public ordinary functions
Function, cl-enqueue-fill-buffer: Public ordinary functions
Function, cl-enqueue-fill-image: Public ordinary functions
Function, cl-enqueue-kernel: Public ordinary functions
Function, cl-enqueue-map-buffer: Public ordinary functions
Function, cl-enqueue-map-image: Public ordinary functions
Function, cl-enqueue-marker: Public ordinary functions
Function, cl-enqueue-migrate-mem-objects: Public ordinary functions
Function, cl-enqueue-ndrange-kernel: Public ordinary functions
Function, cl-enqueue-read-buffer: Public ordinary functions
Function, cl-enqueue-read-buffer-rect: Public ordinary functions
Function, cl-enqueue-read-image: Public ordinary functions
Function, cl-enqueue-release-gl-objects: Public ordinary functions
Function, cl-enqueue-unmap-mem-object: Public ordinary functions
Function, cl-enqueue-write-buffer: Public ordinary functions
Function, cl-enqueue-write-buffer-rect: Public ordinary functions
Function, cl-enqueue-write-image: Public ordinary functions
Function, cl-finish: Public ordinary functions
Function, cl-flush: Public ordinary functions
Function, cl-get-command-queue-info: Public ordinary functions
Function, cl-get-device-and-host-timer: Public ordinary functions
Function, cl-get-device-ids: Public ordinary functions
Function, cl-get-device-info: Public ordinary functions
Function, cl-get-event-info: Public ordinary functions
Function, cl-get-event-profiling-info: Public ordinary functions
Function, cl-get-gl-object-info: Public ordinary functions
Function, cl-get-gl-texture-info: Public ordinary functions
Function, cl-get-host-timer: Public ordinary functions
Function, cl-get-image-info: Public ordinary functions
Function, cl-get-kernel-arg-info: Public ordinary functions
Function, cl-get-kernel-info: Public ordinary functions
Function, cl-get-kernel-sub-group-info: Public ordinary functions
Function, cl-get-kernel-work-group-info: Public ordinary functions
Function, cl-get-mem-object-info: Public ordinary functions
Function, cl-get-pipe-info: Public ordinary functions
Function, cl-get-platform-ids: Public ordinary functions
Function, cl-get-platform-info: Public ordinary functions
Function, cl-get-program-binaries: Public ordinary functions
Function, cl-get-program-build-info: Public ordinary functions
Function, cl-get-program-info: Public ordinary functions
Function, cl-get-sampler-info: Public ordinary functions
Function, cl-get-supported-image-formats: Public ordinary functions
Function, cl-link-program: Public ordinary functions
Function, cl-release-command-queue: Public ordinary functions
Function, cl-release-context: Public ordinary functions
Function, cl-release-device: Public ordinary functions
Function, cl-release-event: Public ordinary functions
Function, cl-release-kernel: Public ordinary functions
Function, cl-release-mem-object: Public ordinary functions
Function, cl-release-program: Public ordinary functions
Function, cl-release-sampler: Public ordinary functions
Function, cl-retain-command-queue: Public ordinary functions
Function, cl-retain-context: Public ordinary functions
Function, cl-retain-device: Public ordinary functions
Function, cl-retain-event: Public ordinary functions
Function, cl-retain-kernel: Public ordinary functions
Function, cl-retain-mem-object: Public ordinary functions
Function, cl-retain-program: Public ordinary functions
Function, cl-retain-sampler: Public ordinary functions
Function, cl-set-default-device-command-queue: Public ordinary functions
Function, cl-set-event-callback: Public ordinary functions
Function, cl-set-kernel-arg: Public ordinary functions
Function, cl-set-kernel-arg-svm-pointer: Public ordinary functions
Function, cl-set-kernel-exec-info: Public ordinary functions
Function, cl-set-mem-object-destructor-callback: Public ordinary functions
Function, cl-set-program-release-callback: Public ordinary functions
Function, cl-set-user-event-status: Public ordinary functions
Function, cl-svm-alloc: Public ordinary functions
Function, cl-svm-free: Public ordinary functions
Function, cl-unload-platform-compiler: Public ordinary functions
Function, cl-wait-and-release-events: Public ordinary functions
Function, cl-wait-for-events: Public ordinary functions
Function, clbuildprogram: Public ordinary functions
Function, clclonekernel: Public ordinary functions
Function, clcompileprogram: Public ordinary functions
Function, clcreatebuffer: Public ordinary functions
Function, clcreatebufferwithproperties: Public ordinary functions
Function, clcreatecommandqueue: Public ordinary functions
Function, clcreatecommandqueuewithproperties: Public ordinary functions
Function, clcreatecommandqueuewithpropertieskhr: Public ordinary functions
Function, clcreatecontext: Public ordinary functions
Function, clcreatecontextfromtype: Public ordinary functions
Function, clcreateeventfromglsynckhr: Public ordinary functions
Function, clcreatefromglbuffer: Public ordinary functions
Function, clcreatefromglrenderbuffer: Public ordinary functions
Function, clcreatefromgltexture: Public ordinary functions
Function, clcreatefromgltexture2d: Public ordinary functions
Function, clcreatefromgltexture3d: Public ordinary functions
Function, clcreateimage: Public ordinary functions
Function, clcreateimage2d: Public ordinary functions
Function, clcreateimage3d: Public ordinary functions
Function, clcreateimagewithproperties: Public ordinary functions
Function, clcreatekernel: Public ordinary functions
Function, clcreatekernelsinprogram: Public ordinary functions
Function, clcreatepipe: Public ordinary functions
Function, clcreateprogramwithbinary: Public ordinary functions
Function, clcreateprogramwithbuiltinkernels: Public ordinary functions
Function, clcreateprogramwithil: Public ordinary functions
Function, clcreateprogramwithilkhr: Public ordinary functions
Function, clcreateprogramwithsource: Public ordinary functions
Function, clcreatesampler: Public ordinary functions
Function, clcreatesamplerwithproperties: Public ordinary functions
Function, clcreatesubbuffer: Public ordinary functions
Function, clcreatesubdevices: Public ordinary functions
Function, clcreatesubdevicesext: Public ordinary functions
Function, clcreateuserevent: Public ordinary functions
Function, clenqueueacquireglobjects: Public ordinary functions
Function, clenqueueacquiregrallocobjectsimg: Public ordinary functions
Function, clenqueuebarrier: Public ordinary functions
Function, clenqueuebarrierwithwaitlist: Public ordinary functions
Function, clenqueuecopybuffer: Public ordinary functions
Function, clenqueuecopybufferrect: Public ordinary functions
Function, clenqueuecopybuffertoimage: Public ordinary functions
Function, clenqueuecopyimage: Public ordinary functions
Function, clenqueuecopyimagetobuffer: Public ordinary functions
Function, clenqueuefillbuffer: Public ordinary functions
Function, clenqueuefillimage: Public ordinary functions
Function, clenqueuemapbuffer: Public ordinary functions
Function, clenqueuemapimage: Public ordinary functions
Function, clenqueuemarker: Public ordinary functions
Function, clenqueuemarkerwithwaitlist: Public ordinary functions
Function, clenqueuemigratememobjects: Public ordinary functions
Function, clenqueuenativekernel: Public ordinary functions
Function, clenqueuendrangekernel: Public ordinary functions
Function, clenqueuereadbuffer: Public ordinary functions
Function, clenqueuereadbufferrect: Public ordinary functions
Function, clenqueuereadimage: Public ordinary functions
Function, clenqueuereleaseglobjects: Public ordinary functions
Function, clenqueuereleasegrallocobjectsimg: Public ordinary functions
Function, clenqueuesvmfree: Public ordinary functions
Function, clenqueuesvmfreearm: Public ordinary functions
Function, clenqueuesvmmap: Public ordinary functions
Function, clenqueuesvmmaparm: Public ordinary functions
Function, clenqueuesvmmemcpy: Public ordinary functions
Function, clenqueuesvmmemcpyarm: Public ordinary functions
Function, clenqueuesvmmemfill: Public ordinary functions
Function, clenqueuesvmmemfillarm: Public ordinary functions
Function, clenqueuesvmmigratemem: Public ordinary functions
Function, clenqueuesvmunmap: Public ordinary functions
Function, clenqueuesvmunmaparm: Public ordinary functions
Function, clenqueuetask: Public ordinary functions
Function, clenqueueunmapmemobject: Public ordinary functions
Function, clenqueuewaitforevents: Public ordinary functions
Function, clenqueuewritebuffer: Public ordinary functions
Function, clenqueuewritebufferrect: Public ordinary functions
Function, clenqueuewriteimage: Public ordinary functions
Function, clfinish: Public ordinary functions
Function, clflush: Public ordinary functions
Function, clgetcommandqueueinfo: Public ordinary functions
Function, clgetdeviceandhosttimer: Public ordinary functions
Function, clgetdeviceids: Public ordinary functions
Function, clgetdeviceimageinfoqcom: Public ordinary functions
Function, clgetdeviceinfo: Public ordinary functions
Function, clgeteventinfo: Public ordinary functions
Function, clgeteventprofilinginfo: Public ordinary functions
Function, clgetextensionfunctionaddress: Public ordinary functions
Function, clgetextensionfunctionaddressforplatform: Public ordinary functions
Function, clgetglcontextinfokhr: Public ordinary functions
Function, clgetglobjectinfo: Public ordinary functions
Function, clgetgltextureinfo: Public ordinary functions
Function, clgethosttimer: Public ordinary functions
Function, clgetimageinfo: Public ordinary functions
Function, clgetkernelarginfo: Public ordinary functions
Function, clgetkernelinfo: Public ordinary functions
Function, clgetkernelsubgroupinfo: Public ordinary functions
Function, clgetkernelsubgroupinfokhr: Public ordinary functions
Function, clgetkernelworkgroupinfo: Public ordinary functions
Function, clgetmemobjectinfo: Public ordinary functions
Function, clgetpipeinfo: Public ordinary functions
Function, clgetplatformids: Public ordinary functions
Function, clgetplatforminfo: Public ordinary functions
Function, clgetprogrambuildinfo: Public ordinary functions
Function, clgetprograminfo: Public ordinary functions
Function, clgetsamplerinfo: Public ordinary functions
Function, clgetsupportedimageformats: Public ordinary functions
Function, clicdgetplatformidskhr: Public ordinary functions
Function, climportmemoryarm: Public ordinary functions
Function, cllinkprogram: Public ordinary functions
Function, cllogmessagestostderrapple: Public ordinary functions
Function, cllogmessagestostdoutapple: Public ordinary functions
Function, cllogmessagestosystemlogapple: Public ordinary functions
Function, clreleasecommandqueue: Public ordinary functions
Function, clreleasecontext: Public ordinary functions
Function, clreleasedevice: Public ordinary functions
Function, clreleasedeviceext: Public ordinary functions
Function, clreleaseevent: Public ordinary functions
Function, clreleasekernel: Public ordinary functions
Function, clreleasememobject: Public ordinary functions
Function, clreleaseprogram: Public ordinary functions
Function, clreleasesampler: Public ordinary functions
Function, clretaincommandqueue: Public ordinary functions
Function, clretaincontext: Public ordinary functions
Function, clretaindevice: Public ordinary functions
Function, clretaindeviceext: Public ordinary functions
Function, clretainevent: Public ordinary functions
Function, clretainkernel: Public ordinary functions
Function, clretainmemobject: Public ordinary functions
Function, clretainprogram: Public ordinary functions
Function, clretainsampler: Public ordinary functions
Function, clsetcommandqueueproperty: Public ordinary functions
Function, clsetdefaultdevicecommandqueue: Public ordinary functions
Function, clseteventcallback: Public ordinary functions
Function, clsetkernelarg: Public ordinary functions
Function, clsetkernelargsvmpointer: Public ordinary functions
Function, clsetkernelargsvmpointerarm: Public ordinary functions
Function, clsetkernelexecinfo: Public ordinary functions
Function, clsetkernelexecinfoarm: Public ordinary functions
Function, clsetmemobjectdestructorapple: Public ordinary functions
Function, clsetmemobjectdestructorcallback: Public ordinary functions
Function, clsetprogramreleasecallback: Public ordinary functions
Function, clsetprogramspecializationconstant: Public ordinary functions
Function, clsetusereventstatus: Public ordinary functions
Function, clsvmalloc: Public ordinary functions
Function, clsvmallocarm: Public ordinary functions
Function, clsvmfree: Public ordinary functions
Function, clsvmfreearm: Public ordinary functions
Function, clterminatecontextkhr: Public ordinary functions
Function, clunloadcompiler: Public ordinary functions
Function, clunloadplatformcompiler: Public ordinary functions
Function, clwaitforevents: Public ordinary functions
Function, describe-opencl-devices: Public ordinary functions
Function, describe-opencl-platforms: Public ordinary functions
Function, event-wait-list->foreign: Private ordinary functions
Function, fill-image-channel-type->data-type: Public ordinary functions
Function, find-opencl-platform-by-name: Public ordinary functions
Function, format->type-info: Private ordinary functions
Function, get-opencl-kernel-work-size: Public ordinary functions
Function, image-channel-type->data-type: Private ordinary functions
Function, join-flags: Private ordinary functions
Function, lisp->pixel!: Private ordinary functions
Function, pixel->bytes!: Private ordinary functions
Function, pixel->lisp: Private ordinary functions
Function, read-binary-data-from-pathname: Public ordinary functions
Function, release-opencl-event: Public ordinary functions
Function, sequence->3d-array: Public ordinary functions
Function, write-binary-data-to-pathname: Public ordinary functions
Function, zero-mem: Private ordinary functions

G
get-opencl-kernel-work-size: Public ordinary functions

I
image-channel-type->data-type: Private ordinary functions

J
join-flags: Private ordinary functions

L
lisp->pixel!: Private ordinary functions

M
Macro, case=: Private macros
Macro, check-opencl-error: Private macros
Macro, with-opencl-command-queue: Public macros
Macro, with-opencl-context: Public macros

P
pixel->bytes!: Private ordinary functions
pixel->lisp: Private ordinary functions

R
read-binary-data-from-pathname: Public ordinary functions
release-opencl-event: Public ordinary functions

S
sequence->3d-array: Public ordinary functions

W
with-opencl-command-queue: Public macros
with-opencl-context: Public macros
write-binary-data-to-pathname: Public ordinary functions

Z
zero-mem: Private ordinary functions


A.3 Variables

Jump to:   +  
S  
Index Entry  Section

+
+null+: Public special variables

S
Special Variable, +null+: Public special variables