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

[ROCm/rocprofiler-sdk commit: 8a25b239bc]
This commit is contained in:
Gopesh Bhardwaj
2024-02-06 23:25:07 +05:30
zatwierdzone przez GitHub
rodzic 64b06a643e
commit 4daf20d431
12 zmienionych plików z 358 dodań i 43 usunięć
@@ -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)