Fixing counter collection in tools and enabling tests (#436)

* Fixing coutner colleciton in tools and enabling tests

* fixing tests

* improving coverage on test

* Adding vector operations app

* Fixing tools bug for counter collection

* removing roctx linking
Este cometimento está contido em:
Gopesh Bhardwaj criou e GitHub cometeu 2024-02-06 09:55:07 -08:00
1 ascendente f6198f226a
cometimento 8a25b239bc
12 ficheiros modificados
+358 -43

Não existem ficheiros que correspondam à sua pesquisa

-4
Ver ficheiro
@@ -191,10 +191,6 @@ parse_counters(std::string line)
{
counters.emplace(counter);
}
else
{
LOG(ERROR) << "invalid counter: " << counter;
}
}
}
+4 -1
Ver ficheiro
@@ -687,8 +687,11 @@ dispatch_callback(rocprofiler_queue_id_t queue_id,
kernel_data.rlock([](const kernel_symbol_data_map_t& kdata,
uint64_t kernel_id_v) { return kdata.at(kernel_id_v); },
kernel_id);
auto is_targeted_kernel = [&kernel_info]() {
// if kernel name is provided by user then by default all kernels in the application are
// targeted
if(tool::get_config().kernel_names.empty()) return true;
for(const auto& name : tool::get_config().kernel_names)
{
if(name == kernel_info.truncated_kernel_name)