diff --git a/projects/hip/tests/catch/unit/memory/hipMemcpy3DAsync.cc b/projects/hip/tests/catch/unit/memory/hipMemcpy3DAsync.cc index 1f690fa410..451da3e4fc 100644 --- a/projects/hip/tests/catch/unit/memory/hipMemcpy3DAsync.cc +++ b/projects/hip/tests/catch/unit/memory/hipMemcpy3DAsync.cc @@ -109,10 +109,10 @@ void Memcpy3DAsync::AllocateMemory() { */ template void Memcpy3DAsync::DeAllocateMemory() { - hipFreeArray(arr); - hipFreeArray(arr1); + HIP_CHECK(hipFreeArray(arr)); + HIP_CHECK(hipFreeArray(arr1)); free(hData); - hipStreamDestroy(stream); + HIP_CHECK(hipStreamDestroy(stream)); } /*