From c6a6c372af46a74b7a763b1bb3b0b87d7da45cb5 Mon Sep 17 00:00:00 2001 From: Giovanni LB Date: Sat, 6 Jan 2024 17:58:33 -0300 Subject: [PATCH] Temp workaround for compilation errors in CTF Change-Id: If9fc45f4d76a85ebe38ebc03a4fba9fe069730d7 [ROCm/rocprofiler commit: bae8c664bbe6b5208578781002f9500d248b9613] --- projects/rocprofiler/plugin/ctf/gen_api_files.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/rocprofiler/plugin/ctf/gen_api_files.py b/projects/rocprofiler/plugin/ctf/gen_api_files.py index 929ddb22aa..9683b41c82 100644 --- a/projects/rocprofiler/plugin/ctf/gen_api_files.py +++ b/projects/rocprofiler/plugin/ctf/gen_api_files.py @@ -580,6 +580,8 @@ def _cpp_switch_statement_from_erts(api_prefix, erts): lines.append("switch (GetOp()) {") for ert in erts: + if api_prefix == 'hip' and 'R0600' in ert.api_func_name: + continue lines.append(f" case {api_prefix.upper()}_API_ID_{ert.api_func_name}:") lines.append(f" barectf_{api_prefix}_api_trace_{ert.name(api_prefix)}(") lines.append(f" &barectf_ctx,")