mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
fix: print proper type for engineUsage in debug logging
Related-To: HSD-18043767497 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6de66b6621
commit
b40d984691
@@ -1342,7 +1342,7 @@ EngineControl *SecondaryContexts::getEngine(EngineUsage usage, std::optional<int
|
||||
int32_t lowestPriorityLevel = engines[secondaryEngineIndex].commandStreamReceiver->getGfxCoreHelper().getLowestQueuePriorityLevel();
|
||||
engines[secondaryEngineIndex].osContext->overridePriority(lowestPriorityLevel);
|
||||
}
|
||||
PRINT_DEBUG_STRING(debugManager.flags.PrintSecondaryContextEngineInfo.get(), stdout, "SecondaryContexts::getEngine-> engineUsage: %d index %d priorityLevel: %d \n", EngineHelpers::engineUsageToString(usage).c_str(), secondaryEngineIndex, engines[secondaryEngineIndex].osContext->getPriorityLevel());
|
||||
PRINT_DEBUG_STRING(debugManager.flags.PrintSecondaryContextEngineInfo.get(), stdout, "SecondaryContexts::getEngine-> engineUsage: %s index: %d priorityLevel: %d \n", EngineHelpers::engineUsageToString(usage).c_str(), secondaryEngineIndex, engines[secondaryEngineIndex].osContext->getPriorityLevel());
|
||||
|
||||
return &engines[secondaryEngineIndex];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user