mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
c3ecf13fe1
commit
0f48dd465f
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user