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 413c3cb79b..fa6c6b121f 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 @@ -989,6 +989,9 @@ typedef hipError_t (*t_hipGraphExecNodeSetParams)(hipGraphExec_t graphExec, hipG +typedef hipError_t (*t_hipExternalMemoryGetMappedMipmappedArray)( + hipMipmappedArray_t* mipmap, hipExternalMemory_t extMem, + const hipExternalMemoryMipmappedArrayDesc* mipmapDesc); // HIP Compiler dispatch table struct HipCompilerDispatchTable { size_t size; @@ -1468,4 +1471,5 @@ struct HipDispatchTable { t_hipGraphExecGetFlags hipGraphExecGetFlags_fn; t_hipGraphNodeSetParams hipGraphNodeSetParams_fn; t_hipGraphExecNodeSetParams hipGraphExecNodeSetParams_fn; + t_hipExternalMemoryGetMappedMipmappedArray hipExternalMemoryGetMappedMipmappedArray_fn; }; diff --git a/projects/clr/hipamd/src/hip_api_trace.cpp b/projects/clr/hipamd/src/hip_api_trace.cpp index f58cd87774..66e2827365 100644 --- a/projects/clr/hipamd/src/hip_api_trace.cpp +++ b/projects/clr/hipamd/src/hip_api_trace.cpp @@ -793,6 +793,9 @@ hipError_t hipGraphExecGetFlags(hipGraphExec_t graphExec, unsigned long long* fl hipError_t hipGraphNodeSetParams(hipGraphNode_t node, hipGraphNodeParams *nodeParams); hipError_t hipGraphExecNodeSetParams(hipGraphExec_t graphExec, hipGraphNode_t node, hipGraphNodeParams* nodeParams); +hipError_t hipExternalMemoryGetMappedMipmappedArray( + hipMipmappedArray_t* mipmap, hipExternalMemory_t extMem, + const hipExternalMemoryMipmappedArrayDesc* mipmapDesc); } // namespace hip namespace hip { @@ -1282,6 +1285,8 @@ void UpdateDispatchTable(HipDispatchTable* ptrDispatchTable) { ptrDispatchTable->hipGraphExecGetFlags_fn = hip::hipGraphExecGetFlags; ptrDispatchTable->hipGraphNodeSetParams_fn = hip::hipGraphNodeSetParams; ptrDispatchTable->hipGraphExecNodeSetParams_fn = hip::hipGraphExecNodeSetParams; + ptrDispatchTable->hipExternalMemoryGetMappedMipmappedArray_fn = + hip::hipExternalMemoryGetMappedMipmappedArray; } #if HIP_ROCPROFILER_REGISTER > 0 @@ -1857,6 +1862,7 @@ HIP_ENFORCE_ABI(HipDispatchTable, hipMemcpy2DArrayToArray_fn, 454) HIP_ENFORCE_ABI(HipDispatchTable, hipGraphExecGetFlags_fn, 455); HIP_ENFORCE_ABI(HipDispatchTable, hipGraphNodeSetParams_fn, 456); HIP_ENFORCE_ABI(HipDispatchTable, hipGraphExecNodeSetParams_fn, 457); +HIP_ENFORCE_ABI(HipDispatchTable, hipExternalMemoryGetMappedMipmappedArray_fn, 458) // if HIP_ENFORCE_ABI entries are added for each new function pointer in the table, the number below // will be +1 of the number in the last HIP_ENFORCE_ABI line. E.g.: @@ -1864,7 +1870,7 @@ HIP_ENFORCE_ABI(HipDispatchTable, hipGraphExecNodeSetParams_fn, 457); // HIP_ENFORCE_ABI(