TOpenCLCommandQueue Class

type TOpenCLCommandQueue = class

Every Open CL function that we want to compute needs to be submitted to the command queue.

Device can have multiple command queues if supported.

Properties

NameTypeDescription
clCommandQueuepcl_command_queueReturns the Open CL command queue object.
DeviceTOpenCLDevice
ImmediateExecutionbooleanIf set to True, the Intel Open CL driver will execute all kernels within the callers thread.
JobThreadTJobThread
LocalMemorySizeinteger
OutOfOrderbooleanSet this property to true, if you would like to have commands executed out of order.
ProfilingbooleanSet this property to true, to enable command queue profiling.
QueueLengthinteger

Methods

NameDescription
EnterUsers critical section Enter point.
FinishCalling this method will block the calling thread until all Kernels (Open CL functions) submitted for execution to this queue have finished.
IsMarkedThreadReturns true if, the command queue is associated with the thread with ThreadID.
LeaveUsers critical section Leave point.
MarkThreadAssociates the thread from which this method was called with the command queue.
TryEnterUsers critical section TryEnter point.
UnMarkThreadDisssociates the command queue from any threads.