From dd4ecee1cbad175472f99b20801604a65993049a Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Tue, 11 Oct 2022 11:15:26 +0530 Subject: [PATCH] SWDEV-1 - Add missing checks in hipDrvMemcpy3D.cc [ROCm/hip-tests commit: d3bf2019cf1a4b1edfcb4abdaa0d53bc711f0cbd] --- projects/hip-tests/catch/unit/memory/hipDrvMemcpy3D.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip-tests/catch/unit/memory/hipDrvMemcpy3D.cc b/projects/hip-tests/catch/unit/memory/hipDrvMemcpy3D.cc index b70c8f74b1..0b524655a9 100644 --- a/projects/hip-tests/catch/unit/memory/hipDrvMemcpy3D.cc +++ b/projects/hip-tests/catch/unit/memory/hipDrvMemcpy3D.cc @@ -501,8 +501,8 @@ void DrvMemcpy3D::HostArray_DrvMemcpy3D(bool device_context_change) { /* DeAllocating the memory */ template void DrvMemcpy3D::DeAllocateMemory() { - hipArrayDestroy(arr); - hipArrayDestroy(arr1); + HIP_CHECK(hipArrayDestroy(arr)); + HIP_CHECK(hipArrayDestroy(arr1)); free(hData); }