mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 02:18:05 +08:00
fix: use regular engine for HP copy engine if no HP engine
- map HIGH PRIORTY queues to regular engine for copy engine if there is no HP copy engine available Related-To: NEO-11983 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
85df385582
commit
a734a738fa
@@ -1720,7 +1720,9 @@ ze_result_t DeviceImp::getCsrForOrdinalAndIndex(NEO::CommandStreamReceiver **csr
|
||||
}
|
||||
|
||||
if (copyOnly && contextPriority == NEO::EngineUsage::highPriority) {
|
||||
getCsrForHighPriority(csr, copyOnly);
|
||||
if (getCsrForHighPriority(csr, copyOnly) != ZE_RESULT_SUCCESS) {
|
||||
contextPriority = NEO::EngineUsage::regular;
|
||||
}
|
||||
}
|
||||
|
||||
auto &osContext = (*csr)->getOsContext();
|
||||
|
||||
Reference in New Issue
Block a user