From c8ecf77a94e2d9afe48dae7d9e549937abe25777 Mon Sep 17 00:00:00 2001 From: Todd tiantuo Li <88386084+lttamd@users.noreply.github.com> Date: Fri, 5 Sep 2025 14:14:43 -0700 Subject: [PATCH] Update dispatch table to move 7.1 new APIs under HIP_RUNTIME_API_TABLE_STEP_VERSION 14 (#790) --- .../clr/hipamd/include/hip/amd_detail/hip_api_trace.hpp | 6 +++--- projects/clr/hipamd/src/hip_api_trace.cpp | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/clr/hipamd/include/hip/amd_detail/hip_api_trace.hpp b/projects/clr/hipamd/include/hip/amd_detail/hip_api_trace.hpp index e3bda91f71..27a675267e 100644 --- a/projects/clr/hipamd/include/hip/amd_detail/hip_api_trace.hpp +++ b/projects/clr/hipamd/include/hip/amd_detail/hip_api_trace.hpp @@ -1633,6 +1633,8 @@ struct HipDispatchTable { // HIP_RUNTIME_API_TABLE_STEP_VERSION = 13 // removed HIP_MEMSET_NODE_PARAMS replaced by hipMemsetParams + + // HIP_RUNTIME_API_TABLE_STEP_VERSION = 14 t_hipModuleGetFunctionCount hipModuleGetFunctionCount_fn; t_hipMemsetD2D8 hipMemsetD2D8_fn; t_hipMemsetD2D8Async hipMemsetD2D8Async_fn; @@ -1653,10 +1655,8 @@ struct HipDispatchTable { t_hipMemAdvise_v2 hipMemAdvise_v2_fn; t_hipStreamGetId hipStreamGetId_fn; - // HIP_RUNTIME_API_TABLE_STEP_VERSION = 14 - // DO NOT EDIT ABOVE! - // HIP_RUNTIME_API_TABLE_STEP_VERSION == 14 + // HIP_RUNTIME_API_TABLE_STEP_VERSION == 15 // ******************************************************************************************* // // diff --git a/projects/clr/hipamd/src/hip_api_trace.cpp b/projects/clr/hipamd/src/hip_api_trace.cpp index eb538fac01..81883abb99 100644 --- a/projects/clr/hipamd/src/hip_api_trace.cpp +++ b/projects/clr/hipamd/src/hip_api_trace.cpp @@ -2042,6 +2042,7 @@ HIP_ENFORCE_ABI(HipDispatchTable, hipDrvLaunchKernelEx_fn, 475); // HIP_RUNTIME_API_TABLE_STEP_VERSION == 12 HIP_ENFORCE_ABI(HipDispatchTable, hipMemGetHandleForAddressRange_fn, 476); // HIP_RUNTIME_API_TABLE_STEP_VERSION == 13 +// HIP_RUNTIME_API_TABLE_STEP_VERSION == 14 HIP_ENFORCE_ABI(HipDispatchTable, hipModuleGetFunctionCount_fn, 477); HIP_ENFORCE_ABI(HipDispatchTable, hipMemsetD2D8_fn, 478); HIP_ENFORCE_ABI(HipDispatchTable, hipMemsetD2D8Async_fn, 479);