Add support for hsa_amd_queue_get_info (#752)

* Add support for hsa_amd_queue_get_info

- HSA_AMD_EXT_API_TABLE_STEP_VERSION == 0x02

* Suppress unused-but-set-parameter warnings

[ROCm/rocprofiler-sdk commit: 3c005b81b1]
This commit is contained in:
Jonathan R. Madsen
2024-04-11 18:29:22 -05:00
committato da GitHub
parent 6076c751a3
commit beec57376a
7 ha cambiato i file con 35 aggiunte e 9 eliminazioni
@@ -103,6 +103,9 @@ typedef enum // NOLINT(performance-enum-size)
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x01
ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_agent_set_async_scratch_limit,
# endif
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x02
ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_queue_get_info,
# endif
#endif
ROCPROFILER_HSA_AMD_EXT_API_ID_LAST,
@@ -1389,6 +1389,14 @@ typedef union rocprofiler_hsa_api_args_t
size_t threshold;
} hsa_amd_agent_set_async_scratch_limit;
# endif
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x02
struct
{
hsa_queue_t* queue;
hsa_queue_info_attribute_t attribute;
void* value;
} hsa_amd_queue_get_info;
# endif
#endif
} rocprofiler_hsa_api_args_t;