TOpenCLCommandQueue Class

Source: clMtxVec.cs · Assembly: Dew.Math

public class TOpenCLCommandQueue

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
clCommandQueueIntPtrReturns the Open CL command queue object.
ImmediateExecutionBooleanIf set to True, the Intel Open CL driver will execute all kernels within the callers thread.
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.

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.