clang-18 warning fixes (part 1) (#785)
* clang-18 warning fixes (part 1) * format fixes * More format fixes * More format fixes
此提交包含在:
@@ -103,8 +103,8 @@ findDeviceMetrics(const rocprofiler_agent_t& agent, const std::unordered_set<std
|
||||
hsa_ven_amd_aqlprofile_id_query_t
|
||||
v1_get_query_info(hsa_agent_t agent, const counters::Metric& metric)
|
||||
{
|
||||
hsa_ven_amd_aqlprofile_profile_t profile{.agent = agent};
|
||||
hsa_ven_amd_aqlprofile_id_query_t query = {metric.block().c_str(), 0, 0};
|
||||
hsa_ven_amd_aqlprofile_profile_t profile = {.agent = agent};
|
||||
hsa_ven_amd_aqlprofile_id_query_t query = {metric.block().c_str(), 0, 0};
|
||||
if(hsa_ven_amd_aqlprofile_get_info(&profile, HSA_VEN_AMD_AQLPROFILE_INFO_BLOCK_ID, &query) !=
|
||||
HSA_STATUS_SUCCESS)
|
||||
{
|
||||
|
||||
新增問題並參考
封鎖使用者