AmdExtTable updated (#292)

* AmdExtTable updated

* hsa_amd_agent_set_async_scratch_limit introduced

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

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com>
This commit is contained in:
Vladimir Indic
2023-12-12 17:36:38 +01:00
committed by GitHub
parent d2a6eec1bf
commit 0666f6a197
4 changed files with 20 additions and 2 deletions
@@ -1305,5 +1305,12 @@ typedef union rocprofiler_hsa_api_args_u
hsa_amd_memory_pool_t* pool;
hsa_amd_memory_type_t* type;
} hsa_amd_vmem_get_alloc_properties_from_handle;
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x01
struct
{
hsa_agent_t agent;
size_t threshold;
} hsa_amd_agent_set_async_scratch_limit;
# endif
#endif
} rocprofiler_hsa_api_args_t;