Fixing Reached HW Limits message for counters

Change-Id: I61830307c7a45fd689adddc8f5ddc9411aa138f8


[ROCm/rocprofiler commit: b6836ad330]
This commit is contained in:
Ammar ELWazir
2023-06-22 16:22:57 +00:00
committed by Ammar Elwazir
parent d9943f56db
commit 1a92b2aa91
2 changed files with 9 additions and 7 deletions
@@ -176,7 +176,6 @@ InitializeAqlPackets(hsa_agent_t cpu_agent, hsa_agent_t gpu_agent,
if (!rocprofiler::metrics::ExtractMetricEvents(
counter_names, gpu_agent, metricsDict[gpu_agent.handle], results_map, events_list,
results_list, event_to_max_block_count, metrics_counters)) {
std::cerr << "Error: Failed to extract metric events" << std::endl;
abort();
}