refactor: use PRINT_STRING macro for most diagnostics

Related-To: NEO-14742
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
This commit is contained in:
Maciej Bielski
2025-11-27 18:10:04 +00:00
committed by Compute-Runtime-Automation
parent 68d01f398f
commit 147bd894ec
160 changed files with 1466 additions and 1464 deletions

View File

@@ -34,7 +34,7 @@ CompilerCacheConfig getDefaultCompilerCacheConfig() {
if (isAnyIgcEnvVarSet()) {
ret.enabled = false;
PRINT_DEBUG_STRING(NEO::debugManager.flags.PrintDebugMessages.get(), stdout, "WARNING: Detected IGC_* environment variable(s). Compiler cache is disabled.\n");
PRINT_STRING(NEO::debugManager.flags.PrintDebugMessages.get(), stdout, "WARNING: Detected IGC_* environment variable(s). Compiler cache is disabled.\n");
return ret;
}
@@ -61,8 +61,8 @@ CompilerCacheConfig getDefaultCompilerCacheConfig() {
ret.cacheSize = std::numeric_limits<size_t>::max();
}
PRINT_DEBUG_STRING(NEO::debugManager.flags.PrintDebugMessages.get(), stdout, "NEO_CACHE_PERSISTENT is enabled. Cache is located in: %s\n\n",
ret.cacheDir.c_str());
PRINT_STRING(NEO::debugManager.flags.PrintDebugMessages.get(), stdout, "NEO_CACHE_PERSISTENT is enabled. Cache is located in: %s\n\n",
ret.cacheDir.c_str());
return ret;
}