From cd4aec747f0e86ede902dc90740e43c092e1045e Mon Sep 17 00:00:00 2001 From: "Arya.Rafii" Date: Mon, 1 Mar 2021 11:05:31 -0500 Subject: [PATCH] SWDEV-269246 - Added missing exports for hipArrayDestroy Change-Id: I730814720bb618e895efbe2f412e437110bed8bc [ROCm/clr commit: 9f142f988d7cc6a606bebd25f732f430ea456e26] --- projects/clr/hipamd/include/hip/amd_detail/hip_runtime_api.h | 2 ++ projects/clr/hipamd/rocclr/hip_hcc.def.in | 1 + projects/clr/hipamd/rocclr/hip_hcc.map.in | 1 + 3 files changed, 4 insertions(+) diff --git a/projects/clr/hipamd/include/hip/amd_detail/hip_runtime_api.h b/projects/clr/hipamd/include/hip/amd_detail/hip_runtime_api.h index 6b04b7a57a..eb5890759c 100644 --- a/projects/clr/hipamd/include/hip/amd_detail/hip_runtime_api.h +++ b/projects/clr/hipamd/include/hip/amd_detail/hip_runtime_api.h @@ -2300,6 +2300,8 @@ hipError_t hipMallocArray(hipArray** array, const hipChannelFormatDesc* desc, si size_t height __dparm(0), unsigned int flags __dparm(hipArrayDefault)); hipError_t hipArrayCreate(hipArray** pHandle, const HIP_ARRAY_DESCRIPTOR* pAllocateArray); +hipError_t hipArrayDestroy(hipArray* array); + hipError_t hipArray3DCreate(hipArray** array, const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray); hipError_t hipMalloc3D(hipPitchedPtr* pitchedDevPtr, hipExtent extent); diff --git a/projects/clr/hipamd/rocclr/hip_hcc.def.in b/projects/clr/hipamd/rocclr/hip_hcc.def.in index 94ef433b4d..65d15b3c6c 100755 --- a/projects/clr/hipamd/rocclr/hip_hcc.def.in +++ b/projects/clr/hipamd/rocclr/hip_hcc.def.in @@ -84,6 +84,7 @@ hipMalloc3DArray hipMallocManaged hipArrayCreate hipArray3DCreate +hipArrayDestroy hipMallocArray hipMemAdvise hipMemAllocPitch diff --git a/projects/clr/hipamd/rocclr/hip_hcc.map.in b/projects/clr/hipamd/rocclr/hip_hcc.map.in index f556085cf6..e0b4893e67 100755 --- a/projects/clr/hipamd/rocclr/hip_hcc.map.in +++ b/projects/clr/hipamd/rocclr/hip_hcc.map.in @@ -85,6 +85,7 @@ global: hipMalloc3DArray; hipMallocManaged; hipArrayCreate; + hipArrayDestroy; hipArray3DCreate; hipMallocArray; hipMallocPitch;