From d1b376670795d1334a253d7c469bbbf7b53f7d6b Mon Sep 17 00:00:00 2001 From: kjayapra-amd Date: Mon, 8 Jan 2024 13:41:17 -0800 Subject: [PATCH] SWDEV-440106 - Mapping hipDestroyExternalMemory in HIP dispatch table. Change-Id: I5e6e21f929c95be524ace7fd8735a05994c896e8 [ROCm/clr commit: 98c87921a325b8ca2353ad299a85fbadfb345b94] --- projects/clr/hipamd/src/hip_api_trace.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/src/hip_api_trace.cpp b/projects/clr/hipamd/src/hip_api_trace.cpp index 69ae1ffac0..72c0089a00 100644 --- a/projects/clr/hipamd/src/hip_api_trace.cpp +++ b/projects/clr/hipamd/src/hip_api_trace.cpp @@ -786,6 +786,7 @@ void UpdateHipDispatchTable(HipDispatchTable* ptrDispatchTable) { ptrDispatchTable->hipCtxSetCurrent_fn = hip::hipCtxSetCurrent; ptrDispatchTable->hipCtxSetSharedMemConfig_fn = hip::hipCtxSetSharedMemConfig; ptrDispatchTable->hipCtxSynchronize_fn = hip::hipCtxSynchronize; + ptrDispatchTable->hipDestroyExternalMemory_fn = hip::hipDestroyExternalMemory; ptrDispatchTable->hipDestroySurfaceObject_fn = hip::hipDestroySurfaceObject; ptrDispatchTable->hipDestroyTextureObject_fn = hip::hipDestroyTextureObject; ptrDispatchTable->hipDeviceCanAccessPeer_fn = hip::hipDeviceCanAccessPeer;