SWDEV-559267 - Use CLPrint to DevLogPrintf with Log Level - detail debug. (#1160)
Этот коммит содержится в:
1 родитель
93682f2f75
Коммит
740a06d567
20 files changed
+130
-99
No files matched your search
@@ -421,7 +421,8 @@ hipError_t StatCO::registerStatFunction(const void* hostFunction, Function* func
|
||||
amd::ScopedLock lock(sclock_);
|
||||
|
||||
if (functions_.find(hostFunction) != functions_.end()) {
|
||||
DevLogPrintfError("hostFunctionPtr: 0x%x already exists", hostFunction);
|
||||
ClPrint(amd::LOG_DETAIL_DEBUG, amd::LOG_API,
|
||||
"hostFunctionPtr: 0x%x already exists", hostFunction);
|
||||
delete func;
|
||||
} else {
|
||||
functions_.insert(std::make_pair(hostFunction, func));
|
||||
|
||||
Reference in new issue
Block a user