Removal of HSA from counter collection (#697)

* Minor fix

Removal of HSA from counter collection

Tests for AQL

Updated counter collection client to build profiles in tool init

* Rebased

* Debug printing

* Formatting

* More format

* fix shadowing

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Этот коммит содержится в:
Benjamin Welton
2024-04-12 18:46:10 -07:00
коммит произвёл GitHub
родитель 07537b6231
Коммит c2f659ab5c
18 изменённых файлов: 639 добавлений и 199 удалений
+1 -1
Просмотреть файл
@@ -219,7 +219,7 @@ counter_callback_info::setup_profile_config(const hsa::AgentCache& age
}
profile->pkt_generator = std::make_unique<rocprofiler::aql::CounterPacketConstruct>(
agent,
agent.get_rocp_agent()->id,
std::vector<counters::Metric>{profile->reqired_hw_counters.begin(),
profile->reqired_hw_counters.end()});
return ROCPROFILER_STATUS_SUCCESS;