feature: update debug flag DirectSubmissionPrintSemaphoreUsage

instead of printf use makro that make flush after printf

Related-To: HSD-14024170600
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2025-03-27 16:39:52 +00:00
committed by Compute-Runtime-Automation
parent ff85d01289
commit 92e40afc49

View File

@@ -438,9 +438,7 @@ inline void DirectSubmissionHw<GfxFamily, Dispatcher>::unblockGpu() {
*this->pciBarrierPtr = 0u;
}
if (debugManager.flags.DirectSubmissionPrintSemaphoreUsage.get() == 1) {
printf("DirectSubmission semaphore %" PRIx64 " unlocked with value: %u\n", semaphoreGpuVa, currentQueueWorkCount);
}
PRINT_DEBUG_STRING(debugManager.flags.DirectSubmissionPrintSemaphoreUsage.get() == 1, stdout, "DirectSubmission semaphore %" PRIx64 " unlocked with value: %u\n", semaphoreGpuVa, currentQueueWorkCount);
semaphoreData->queueWorkCount = currentQueueWorkCount;