Replicate global counters across all derived counters (#936)
Fix derived counters to have globals replicated across all architectures (that support them). --------- Co-authored-by: Benjamin Welton <ben@amd.com>
This commit is contained in:
@@ -171,7 +171,7 @@ TEST(metrics, check_agent_valid)
|
||||
if(other_gfx == gfx) continue;
|
||||
for(const auto& metric : other_counters)
|
||||
{
|
||||
if(common_metrics.count(metric.id())) continue;
|
||||
if(common_metrics.count(metric.id()) || !metric.special().empty()) continue;
|
||||
EXPECT_EQ(counters::checkValidMetric(gfx, metric), false)
|
||||
<< fmt::format("GFX {} has Metric {} but shouldn't", gfx, metric);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user