ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
Other
116 stars 44 forks source link

SWDEV-294351 Fixed zero bandwith for hsa-api and hip-api traces #59

Open kikimych opened 2 years ago

kikimych commented 2 years ago

Hsa ops traces correlation id is number of hsa async-copy called.

Hsa api does not log any correlation id, but can be calculated implicitly as number of current hsa_amd_memory_async_copy called.

Hip ops correlation id index in rec_vals was 7 instead of 8.

Hip api and hip ops correlation id were consistent.

String manipulation in copy_line calculation in register_copy and register_activity is increasing copy_line length. Replaced string manipulation with class instance and fields modification.

Alexey.Akimov@amd.com