mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Fix set engine index by flag NodeOrdinal for l0
Related-To: LOCI-3154 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d3da44c9aa
commit
c58657378e
@@ -218,11 +218,13 @@ void DeviceImp::adjustCommandQueueDesc(ze_command_queue_desc_t &desc) {
|
||||
}
|
||||
currentEngineIndex++;
|
||||
}
|
||||
currentEngineIndex = 0u;
|
||||
for (const auto &engine : engineGroups[desc.ordinal].engines) {
|
||||
if (engine.getEngineType() == static_cast<aub_stream::EngineType>(nodeOrdinal)) {
|
||||
desc.index = currentEngineIndex;
|
||||
break;
|
||||
}
|
||||
currentEngineIndex++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user