feature: add debug print with global memory size

during check if there is space for scratch available

Related-To: HSD-18041185560
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2025-02-27 15:24:12 +00:00
committed by Compute-Runtime-Automation
parent c3ecf13fe1
commit 0f48dd465f
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2024 Intel Corporation
* Copyright (C) 2019-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -95,6 +95,9 @@ KernelHelper::ErrorCode KernelHelper::checkIfThereIsSpaceForScratchOrPrivate(Ker
PRINT_DEBUG_STRING(debugManager.flags.PrintDebugMessages.get(), stderr,
"computeUnits for each thread: %u\n", computeUnitsForScratch);
PRINT_DEBUG_STRING(debugManager.flags.PrintDebugMessages.get(), stderr,
"global memory size: %llu\n", globalMemorySize);
PRINT_DEBUG_STRING(debugManager.flags.PrintDebugMessages.get(), stderr,
"perHwThreadPrivateMemorySize: %u\t totalPrivateMemorySize: %lu\n",
attributes.perHwThreadPrivateMemorySize, totalPrivateMemorySize);