mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
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:
committed by
Compute-Runtime-Automation
parent
68d01f398f
commit
147bd894ec
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user