SWDEV-1 - Add missing checks in hipDrvMemcpy3D.cc
[ROCm/hip commit: 7fc4b7d6f4]
Dieser Commit ist enthalten in:
1 Ursprung
57d6a09d9d
Commit
9083aaa30a
1 Datei geändert
+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);
|
||||
}
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren