SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user