Fixing opensuse compilation (#521)

* Fixing opensuse compilation

* source formatting (clang-format v11) (#526)

Co-authored-by: bgopesh <bgopesh@users.noreply.github.com>

* Update tests/tools/CMakeLists.txt

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bgopesh <bgopesh@users.noreply.github.com>
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: 2d71520953]
This commit is contained in:
Gopesh Bhardwaj
2024-02-22 12:40:23 +05:30
committed by GitHub
parent f760a3ceaa
commit a651f1e215
@@ -484,8 +484,10 @@ TEST(core, check_callbacks)
&check,
&opt_buff_id),
"Could not create buffer");
cb_info->buffer = opt_buff_id;
hsa::Queue::queue_info_session_t sess = {.queue = fq, .correlation_id = &corr_id};
cb_info->buffer = opt_buff_id;
// hsa::Queue::queue_info_session_t sess = {.queue = fq, .correlation_id = &corr_id};
hsa::Queue::queue_info_session_t sess = hsa::Queue::queue_info_session_t{.queue = fq};
sess.correlation_id = &corr_id;
counters::inst_pkt_t pkts;
pkts.emplace_back(
@@ -724,4 +726,4 @@ TEST(core, public_api_iterate_agents)
}
EXPECT_TRUE(from_api.empty());
}
}
}