2
0

SWDEV-301667 - Logging refactor

- Remove newline from logging as log function internally inserts a new
line

Change-Id: I25eb2242a1f1e87cf811bcc373d1d485b2e027a8
Este cometimento está contido em:
Saleel Kudchadker
2023-12-07 01:32:20 +00:00
ascendente 59a6a6c12e
cometimento 058b2702db
16 ficheiros modificados com 77 adições e 78 eliminações
+2 -2
Ver ficheiro
@@ -672,7 +672,7 @@ hipError_t DynCO::populateDynGlobalVars() {
->getDeviceProgram(*hip::getCurrentDevice()->devices()[0]);
if (!dev_program->getGlobalVarFromCodeObj(&var_names)) {
LogPrintfError("Could not get Global vars from Code Obj for Module: 0x%x \n", module());
LogPrintfError("Could not get Global vars from Code Obj for Module: 0x%x", module());
return hipErrorSharedObjectSymbolNotFound;
}
@@ -700,7 +700,7 @@ hipError_t DynCO::populateDynGlobalFuncs() {
// Get all the global func names from COMGR
if (!dev_program->getGlobalFuncFromCodeObj(&func_names)) {
LogPrintfError("Could not get Global Funcs from Code Obj for Module: 0x%x \n", module());
LogPrintfError("Could not get Global Funcs from Code Obj for Module: 0x%x", module());
return hipErrorSharedObjectSymbolNotFound;
}