mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
feature: add regular and hp contexts in group without dedicated hp engine
- if no hp copy engine available, create group with regular and hp contexts Related-To: NEO-11983 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1070df4c54
commit
482e077252
@@ -97,7 +97,7 @@ void RootDevice::initializeRootCommandStreamReceiver() {
|
||||
if (useContextGroup) {
|
||||
auto contextCount = gfxCoreHelper.getContextGroupContextsCount();
|
||||
EngineGroupType engineGroupType = gfxCoreHelper.getEngineGroupType(engine.getEngineType(), engine.getEngineUsage(), hwInfo);
|
||||
auto highPriorityContextCount = gfxCoreHelper.getContextGroupHpContextsCount(engineGroupType);
|
||||
auto highPriorityContextCount = gfxCoreHelper.getContextGroupHpContextsCount(engineGroupType, false);
|
||||
|
||||
if (debugManager.flags.OverrideNumHighPriorityContexts.get() != -1) {
|
||||
highPriorityContextCount = static_cast<uint32_t>(debugManager.flags.OverrideNumHighPriorityContexts.get());
|
||||
|
||||
Reference in New Issue
Block a user