Fixing rocprofilerv2 naming and CMake issues

Change-Id: Ib6d336349a056731e5c0f35151296d6fea671360
Этот коммит содержится в:
Ammar ELWazir committed 2023-03-09 13:21:01 +00:00
1 родитель bc48a2d164
Коммит dc69331379
62 files changed
+228 -234237

No files matched your search

+1 -1
Просмотреть файл
@@ -44,7 +44,7 @@
// Macro to check ROCPROFILER calls status
#define CHECK_ROCPROFILER(call) \
do { \
if ((call) != ROCPROFILER_STATUS_SUCCESS) rocmtools::fatal("Error: ROCMTools API Call Error!"); \
if ((call) != ROCPROFILER_STATUS_SUCCESS) rocmtools::fatal("Error: ROCProfiler API Call Error!"); \
} while (false)
// Device (Kernel) functions, it must be void
+1 -1
Просмотреть файл
@@ -84,7 +84,7 @@ std::string string_printf(const char* format, ...) {
message += info.sstream.str();
#endif /* defined (ENABLE_BACKTRACE) */
std::string errmsg("ROCMTools: fatal error: " + message);
std::string errmsg("ROCProfiler: fatal error: " + message);
fputs(errmsg.c_str(), stderr);
throw(errmsg);