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:
Mateusz Hoppe
2025-05-21 12:22:11 +00:00
committed by Compute-Runtime-Automation
parent a423493a4a
commit 0d57dcfdf0
31 changed files with 260 additions and 108 deletions

View File

@@ -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);