SWDEV-1 - Add missing checks in hipDrvMemcpy3D.cc

这个提交包含在:
Maneesh Gupta 编写, GitHub 于 2022-10-11 11:15:26 +05:30 提交
1 父节点 172c6d78a9
当前提交 7fc4b7d6f4
1 个文件已更改
+2 -2
+2 -2
查看文件
@@ -501,8 +501,8 @@ void DrvMemcpy3D<T>::HostArray_DrvMemcpy3D(bool device_context_change) {
/* DeAllocating the memory */
template <typename T>
void DrvMemcpy3D<T>::DeAllocateMemory() {
hipArrayDestroy(arr);
hipArrayDestroy(arr1);
HIP_CHECK(hipArrayDestroy(arr));
HIP_CHECK(hipArrayDestroy(arr1));
free(hData);
}