[ROCProfiler-SDK][ROCR] HSA New API changes for HSA_AMD_EXT_API_TABLE_STEP_VERSION 8 (#1182)

* add new hsa ext api for version 8.

* use fmt instead of ostream.

* override rccl from therock

* Update rocprofiler-sdk-continuous_integration.yml

* Update rocprofiler-sdk-continuous_integration.yml

* Update rocprofiler-sdk-continuous_integration.yml

* enable rocr-build

* format

* disable att consecutive-kernels tests.

* Enable ROCR build in code coverage workflow

---------

Co-authored-by: Venkateshwar Reddy Kandula <venkateshwar.kandula1306@gmail.com>
This commit is contained in:
Venkateshwar Reddy Kandula
2025-10-06 13:09:39 -05:00
committed by GitHub
parent ad78611674
commit 952d1dabe2
10 changed files with 82 additions and 2 deletions
@@ -356,6 +356,10 @@ ROCPROFILER_ENUM_LABEL(ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_memory_get_preferr
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x07
ROCPROFILER_ENUM_LABEL(ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_portable_export_dmabuf_v2);
# endif
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x08
ROCPROFILER_ENUM_LABEL(ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_ais_file_write);
ROCPROFILER_ENUM_LABEL(ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_ais_file_read);
# endif
#endif
#if HSA_AMD_EXT_API_TABLE_MAJOR_VERSION == 0x01
@@ -377,6 +381,8 @@ static_assert(ROCPROFILER_HSA_AMD_EXT_API_ID_LAST == 72);
static_assert(ROCPROFILER_HSA_AMD_EXT_API_ID_LAST == 73);
# elif HSA_AMD_EXT_API_TABLE_STEP_VERSION == 0x07
static_assert(ROCPROFILER_HSA_AMD_EXT_API_ID_LAST == 74);
# elif HSA_AMD_EXT_API_TABLE_STEP_VERSION == 0x08
static_assert(ROCPROFILER_HSA_AMD_EXT_API_ID_LAST == 76);
# else
# if !defined(ROCPROFILER_UNSAFE_NO_VERSION_CHECK) && \
(defined(ROCPROFILER_CI) && ROCPROFILER_CI > 0)
@@ -121,6 +121,10 @@ typedef enum rocprofiler_hsa_amd_ext_api_id_t // NOLINT(performance-enum-size)
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x07
ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_portable_export_dmabuf_v2,
# endif
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x08
ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_ais_file_write,
ROCPROFILER_HSA_AMD_EXT_API_ID_hsa_amd_ais_file_read,
# endif
#endif
ROCPROFILER_HSA_AMD_EXT_API_ID_LAST,
@@ -1444,6 +1444,26 @@ typedef union rocprofiler_hsa_api_args_t
uint64_t flags;
} hsa_amd_portable_export_dmabuf_v2;
# endif
# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x08
struct
{
hsa_amd_ais_file_handle_t handle;
void* devicePtr;
uint64_t size;
int64_t file_offset;
uint64_t* size_copied;
int32_t* status;
} hsa_amd_ais_file_write;
struct
{
hsa_amd_ais_file_handle_t handle;
void* devicePtr;
uint64_t size;
int64_t file_offset;
uint64_t* size_copied;
int32_t* status;
} hsa_amd_ais_file_read;
# endif
#endif
} rocprofiler_hsa_api_args_t;