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>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d2a6eec1bf
Коммит
0666f6a197
@@ -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;
|
||||
|
||||
@@ -242,6 +242,9 @@ typedef enum // NOLINT(performance-enum-size)
|
||||
ROCPROFILER_HSA_API_ID_hsa_amd_vmem_import_shareable_handle,
|
||||
ROCPROFILER_HSA_API_ID_hsa_amd_vmem_retain_alloc_handle,
|
||||
ROCPROFILER_HSA_API_ID_hsa_amd_vmem_get_alloc_properties_from_handle,
|
||||
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x01
|
||||
ROCPROFILER_HSA_API_ID_hsa_amd_agent_set_async_scratch_limit,
|
||||
# endif
|
||||
#endif
|
||||
|
||||
ROCPROFILER_HSA_API_ID_LAST,
|
||||
|
||||
Ссылка в новой задаче
Block a user