Fixing rocprofilerv2 naming and CMake issues

Change-Id: Ib6d336349a056731e5c0f35151296d6fea671360
This commit is contained in:
Ammar ELWazir
2023-02-17 11:12:27 -06:00
parent bc48a2d164
commit dc69331379
62 changed files with 228 additions and 234237 deletions
@@ -95,7 +95,7 @@ by one or more payloads:
*/
typedef struct {
/**
* ROCMtool General Record base header to identify the id and kind of every
* ROCProfiler General Record base header to identify the id and kind of every
* record
*/
rocprofiler_record_header_t header;
@@ -228,7 +228,7 @@ run_kernel(program_options const &opts)
rocprofiler_create_session(ROCPROFILER_NONE_REPLAY_MODE, &sid),
rocprofiler_ok);
if (ROCPROFILER_STATUS_SUCCESS != rocprofiler_ok) {
fputs("error: failed to create rocmtools session\n", stderr);
fputs("error: failed to create rocprofiler session\n", stderr);
return EXIT_FAILURE;
}
@@ -41,7 +41,7 @@
#define ROCPROFILER_ERROR(code) \
do { \
fprintf(stderr, \
PROGNAME ": Assertion failed at %s:%d, ROCmtools error: %s\n", \
PROGNAME ": Assertion failed at %s:%d, ROCProfiler error: %s\n", \
__FILE__, __LINE__, rocprofiler_error_str(code)); \
fflush(stderr); \
} while (false);