[][src]Module opencl3::command_queue

Structs

CommandQueue

An OpenCL command-queue.
Operations on OpenCL memory and kernel objects are performed using a command-queue.

Enums

CommandQueueInfo

Constants

CL_QUEUE_ON_DEVICE
CL_QUEUE_ON_DEVICE_DEFAULT
CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE
CL_QUEUE_PROFILING_ENABLE

Functions

create_command_queue

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_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.

enqueue_barrier_with_wait_list
enqueue_copy_buffer
enqueue_copy_buffer_rect
enqueue_copy_buffer_to_image
enqueue_copy_image
enqueue_copy_image_to_buffer
enqueue_fill_buffer
enqueue_fill_image
enqueue_map_buffer

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

enqueue_map_image

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

enqueue_marker_with_wait_list
enqueue_migrate_mem_object
enqueue_native_kernel
enqueue_nd_range_kernel
enqueue_read_buffer
enqueue_read_buffer_rect
enqueue_read_image
enqueue_svm_free
enqueue_svm_map
enqueue_svm_mem_cpy
enqueue_svm_mem_fill
enqueue_svm_unmap
enqueue_task
enqueue_unmap_mem_object
enqueue_write_buffer
enqueue_write_buffer_rect
enqueue_write_image
finish

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

flush

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

get_command_queue_info

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

release_command_queue

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

retain_command_queue

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