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
| Name | Type | Description |
|---|---|---|
| clCommandQueue | IntPtr | Returns the Open CL command queue object. |
| ImmediateExecution | Boolean | If set to True, the Intel Open CL driver will execute all kernels within the callers thread. |
| OutOfOrder | Boolean | Set this property to true, if you would like to have commands executed out of order. |
| Profiling | Boolean | Set this property to true, to enable command queue profiling. |
Methods
| Name | Description |
|---|---|
| Enter | Users critical section Enter point. |
| Finish | Calling this method will block the calling thread until all Kernels (Open CL functions) submitted for execution to this queue have finished. |
| IsMarkedThread | Returns true if, the command queue is associated with the thread with ThreadID. |
| Leave | Users critical section Leave point. |
| MarkThread | Associates the thread from which this method was called with the command queue. |
| TryEnter | Users critical section TryEnter point. |
| UnMarkThread | Disssociates the command queue from any threads. |