updated LOG_LEVEL prints to print pid and tid

Change-Id: I8a9212b26bb7e312408a222823efcfd00344094b


[ROCm/hip commit: 8c26e0b3b6]
이 커밋은 다음에 포함됨:
Payam 작성하고 Payam Ghafari가 2020-04-06 16:58:25 -04:00를 커밋함
1 부모 bb5d1502eb
커밋 598f761ba7
2 파일이 변경됨
+13 -4

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -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;
}