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:
Katarzyna Cencelewska
2025-11-04 16:42:15 +00:00
committed by Compute-Runtime-Automation
parent 6de66b6621
commit b40d984691

View File

@@ -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];
}