SWDEV-415965 - Fixing uninitialized variable error for pitch_M and

update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
This commit is contained in:
kjayapra-amd
2023-10-12 14:49:00 -04:00
committed by Rakesh Roy
parent 949cb688dd
commit baaaff9d7f
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ TEST_CASE("Unit_hipGetLastError_with_hipDrvMemcpy3DAsync") {
TEST_CASE("Unit_hipGetLastError_with_hipMemcpy3DAsync") {
constexpr int width{10}, height{10}, depth{10};
auto size = width * height * depth * sizeof(int);
hipArray *devArray;
hipArray_t devArray;
hipStream_t stream;
HIP_CHECK(hipStreamCreate(&stream));