SWDEV-301667 - Logging refactor
- Remove newline from logging as log function internally inserts a new
line
Change-Id: I25eb2242a1f1e87cf811bcc373d1d485b2e027a8
[ROCm/clr commit: 058b2702db]
This commit is contained in:
@@ -174,7 +174,7 @@ void* MemoryPool::AllocateMemory(size_t size, hip::Stream* stream, void* dptr) {
|
||||
size_t free = 0, total =0;
|
||||
hipError_t err = hipMemGetInfo(&free, &total);
|
||||
if (err == hipSuccess) {
|
||||
LogPrintfError("Allocation failed : Device memory : required :%zu | free :%zu | total :%zu \n",
|
||||
LogPrintfError("Allocation failed : Device memory : required :%zu | free :%zu | total :%zu",
|
||||
size, free, total);
|
||||
}
|
||||
return nullptr;
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user