clang-18 warning fixes (part 1) (#785)

* clang-18 warning fixes (part 1)

* format fixes

* More format fixes

* More format fixes
This commit is contained in:
Benjamin Welton
2024-04-18 16:28:32 -07:00
committed by GitHub
parent 21170b870d
commit c668028781
5 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ hsa_ven_amd_aqlprofile_id_query_t
get_query_info(rocprofiler_agent_id_t agent, const counters::Metric& metric)
{
auto aql_agent = *CHECK_NOTNULL(rocprofiler::agent::get_aql_agent(agent));
aqlprofile_pmc_profile_t profile{.agent = aql_agent};
aqlprofile_pmc_profile_t profile = {.agent = aql_agent};
hsa_ven_amd_aqlprofile_id_query_t query = {metric.block().c_str(), 0, 0};
if(aqlprofile_get_pmc_info(&profile, AQLPROFILE_INFO_BLOCK_ID, &query) != HSA_STATUS_SUCCESS)
{