SWDEV-437776: Removed codeobj ATT error message for memory protocol

Change-Id: Iabe191edf5446a03afc4e1c81e5cf906476e5fcb


[ROCm/rocprofiler commit: 7b98e43276]
Этот коммит содержится в:
Giovanni LB
2023-12-20 12:02:58 -03:00
родитель 0f5bec223e
Коммит 44c150c7d4
2 изменённых файлов: 7 добавлений и 4 удалений
+5 -2
Просмотреть файл
@@ -56,12 +56,15 @@
#define C_API_END(returndata) \
} catch (std::exception& e) \
{ \
std::cerr << "Codeobj API lookup error: " << e.what() << std::endl; \
std::string s = e.what(); \
if (s.find("memory protocol not supported!") == std::string::npos) \
std::cerr << "Codeobj API lookup: " << e.what() << std::endl; \
return returndata; \
} \
catch (std::string& s) \
{ \
std::cerr << "Codeobj API lookup error: " << s << std::endl; \
if (s.find("memory protocol not supported!") == std::string::npos) \
std::cerr << "Codeobj API lookup: " << s << std::endl; \
return returndata; \
} \
catch (...) \