Add recompilation warning to debug messages
In case of recompilation from IR, apart from updating build log, print debug message with recompilation warning. Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
parent
57cea7365e
commit
481cf36ad1
|
@ -305,6 +305,7 @@ ze_result_t ModuleTranslationUnit::createFromNativeBinary(const char *input, siz
|
|||
}
|
||||
|
||||
if (nullptr == this->unpackedDeviceBinary) {
|
||||
PRINT_DEBUG_STRING(NEO::DebugManager.flags.PrintDebugMessages.get(), stderr, "%s\n", NEO::CompilerWarnings::recompiledFromIr.data());
|
||||
if (!shouldSuppressRebuildWarning) {
|
||||
updateBuildLog(NEO::CompilerWarnings::recompiledFromIr.str());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue