updated LOG_LEVEL prints to print pid and tid
Change-Id: I8a9212b26bb7e312408a222823efcfd00344094b
[ROCm/clr commit: 14010cb705]
This commit is contained in:
1 orang tua
abc3e6df5c
melakukan
3dbdfd27b7
2 files changed
+13
-4
No files matched your search
@@ -85,7 +85,7 @@ hipError_t ihipMalloc(void** ptr, size_t sizeBytes, unsigned int flags)
|
||||
if (*ptr == nullptr) {
|
||||
return hipErrorOutOfMemory;
|
||||
}
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_API, "ihipMalloc ptr=0x%zx", *ptr);
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_API, "%-5d: [%zx] ihipMalloc ptr=0x%zx", getpid(),std::this_thread::get_id(), *ptr);
|
||||
return hipSuccess;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user