mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
feature: add L0 API querying priority levels - zeDeviceGetPriorityLevels()
Related-To: NEO-14572 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a423493a4a
commit
0d57dcfdf0
@@ -377,6 +377,8 @@ QueueProperties CommandQueue::extractQueueProperties(const ze_command_queue_desc
|
||||
}
|
||||
} else if (static_cast<uint32_t>(baseProperties->stype) == ZEX_INTEL_STRUCTURE_TYPE_QUEUE_COPY_OPERATIONS_OFFLOAD_HINT_EXP_PROPERTIES) {
|
||||
queueProperties.copyOffloadHint = static_cast<const zex_intel_queue_copy_operations_offload_hint_exp_desc_t *>(desc.pNext)->copyOffloadEnabled;
|
||||
} else if (static_cast<uint32_t>(baseProperties->stype) == ZE_STRUCTURE_TYPE_QUEUE_PRIORITY_DESC) {
|
||||
queueProperties.priorityLevel = static_cast<const ze_queue_priority_desc_t *>(desc.pNext)->priority;
|
||||
}
|
||||
|
||||
baseProperties = static_cast<const ze_base_desc_t *>(baseProperties->pNext);
|
||||
|
||||
Reference in New Issue
Block a user