Change profiler mode trace options, the different trace modes (kernel, kokkos (marker), and hip) are now exclusive of each other based on rocprofv3 updates. (#561)

This commit is contained in:
xuchen-amd
2025-02-10 16:11:03 -05:00
committed by GitHub
parent bceddb0943
commit 6391b3ca76
@@ -48,10 +48,10 @@ class rocprof_v3_profiler(RocProfCompute_Base):
if self.get_args().format_rocprof_output == "csv":
rocprof_out_format = "csv"
if self.get_args().hip_trace:
trace_option += " " + "--hip-trace"
if self.get_args().kokkos_trace:
trace_option += " " + "--kokkos-trace"
trace_option = "--kokkos-trace"
if self.get_args().hip_trace:
trace_option = "--hip-trace"
args = [
"-E",