G.5 Queue priority hints

In OpenCL 2.1, you can assign priority to a command queue.

The 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 clCreateCommandQueueWithProperties.

The available 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.

Non-ConfidentialPDF file icon PDF version101574_0301_00_en
Copyright © 2019 Arm Limited or its affiliates. All rights reserved.