|Home > OpenCL 2.1 > Queue priority hints|
In OpenCL 2.1, you can assign priority to a command queue.
CL_KHR_PRIORITY_HINTS extension allows you to assign priority to a command
queue. Use the
CL_QUEUE_PRIORITY_KHR property when creating a command
queue with the function
The supported priorities are:
The priority affects the order work is taken from the queues, with high priority work taken first. Once enqueued work has been taken from the queue, it continues until completion, even if higher priority work is enqueued before the lower priority work completes.