Expand description

OpenCL Command Queue API.

Constants

Functions

Create an OpenCL host or device command-queue on a specific device.
Calls clCreateCommandQueue to create an OpenCL context.
Deprecated in CL_VERSION_2_0 by create_command_queue_with_properties.

Create an OpenCL host or device command-queue on a specific device.
Calls clCreateCommandQueueWithProperties to create an OpenCL context.
CL_VERSION_2_0 onwards.

Note: returns event NOT pointer for consistency with other enqueue functions.
The buffer pointer is returned in the buffer_ptr mutable reference.

Note: returns event NOT pointer for consistency with other enqueue functions.
The image pointer is returned in the image_ptr mutable reference.

Wait for completion of commands on a device.
Calls clFinish and blocks until all previously queued commands have completed.

Flush commands to a device.
Calls clFlush to flush an OpenCL command-queue.

Get data about an OpenCL command-queue. Calls clGetCommandQueueInfo to get the desired data about the command-queue.

Get specific information about an OpenCL command-queue.
Calls clGetCommandQueueInfo to get the desired information about the command-queue.

Release an OpenCL command-queue.
Calls clReleaseCommandQueue to decrement the command-queue reference count.

Retain an OpenCL command-queue.
Calls clRetainCommandQueue to increment the command-queue reference count.