SWDEV-398161, SWDEV-398764 Fixed --hsa-api for v2

Change-Id: I1902ff463851a3485b48f7b9400f7116a073365a


[ROCm/rocprofiler commit: c3107fc258]
This commit is contained in:
gobhardw
2023-05-15 19:01:07 +05:30
committed by Ammar Elwazir
parent 39e398bfd7
commit 614fd47cd3
10 changed files with 652 additions and 84 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ class file_plugin_t {
if (kernel_name.size() > 1) *output_file << " Kernel_Name(" << kernel_name.c_str() << "),";
if (tracer_record.phase == ROCPROFILER_PHASE_NONE) {
*output_file << " Begin(" << tracer_record.timestamps.begin.value
<< "), End(" << tracer_record.timestamps.end.value << ")";
<< "), End(" << tracer_record.timestamps.end.value << "),";
} else {
if(tracer_record.phase == ROCPROFILER_PHASE_ENTER && tracer_record.domain != ACTIVITY_DOMAIN_ROCTX){
rocprofiler_timestamp_t timestamp;