fix the wrong number of channels of TCC counters to put in pmc txt file (#633)

[ROCm/rocprofiler-compute commit: 7c1f14123a]
这个提交包含在:
ywang103-amd 编写, GitHub 于 2025-03-27 18:15:41 -04:00 提交
1 父节点 79a333231c
当前提交 ad070d94db
3 个文件已更改
+117 -71

没有与搜索条件相匹配的文件

@@ -451,6 +451,7 @@ def v3_counter_csv_to_v2_csv(counter_file, agent_info_filepath, converted_csv_fi
)
)
if result["Agent_Id"].dtype == "object":
# Apply the function to the 'Agent_Id' column and store it as int64
try:
result["Agent_Id"] = (
result["Agent_Id"]
@@ -560,7 +561,7 @@ def run_prof(
# standard rocprof options
default_options = ["-i", fname]
options = default_options + profiler_options
if path_counter_config_yaml.exists():
if using_v3() and path_counter_config_yaml.exists():
options = ["-E", str(path_counter_config_yaml)] + options
# set required env var for mi300