Fix to PR #413 HIP_RUNTIME_API_TABLE_STEP_VERSION 9 vs. 10 (#419)

Fix HIP_RUNTIME_API_TABLE_STEP_VERSION 9 vs. 10

- in rocm-6.4.x, hipLinkAddData, hipLinkAddFile, hipLinkComplete, hipLinkCreate, hipLinkDestroy are HIP_RUNTIME_API_TABLE_STEP_VERSION == 9
- in amd-staging, hipEventRecordWithFlags is HIP_RUNTIME_API_TABLE_STEP_VERSION == 9
  - this should fixed in amd-staging such that HIP_RUNTIME_API_TABLE_STEP_VERSION == 10

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
This commit is contained in:
Madsen, Jonathan
2025-05-27 17:40:21 -05:00
committed by GitHub
parent d910dded7d
commit fec74141b0
4 changed files with 22 additions and 22 deletions
@@ -3064,14 +3064,6 @@ typedef union rocprofiler_hip_api_args_t
} hipGraphExecBatchMemOpNodeSetParams;
#endif
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 9
struct
{
hipEvent_t event;
hipStream_t stream;
unsigned int flags;
} hipEventRecordWithFlags;
#endif
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 10
struct
{
hipLinkState_t state;
@@ -3110,6 +3102,14 @@ typedef union rocprofiler_hip_api_args_t
hipLinkState_t state;
} hipLinkDestroy;
#endif
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 10
struct
{
hipEvent_t event;
hipStream_t stream;
unsigned int flags;
} hipEventRecordWithFlags;
#endif
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 11
struct
{