SWDEV-415965 - Fixing uninitialized variable error for pitch_M and

update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
Этот коммит содержится в:
kjayapra-amd authored and Rakesh Roy committed 2023-10-13 16:25:01 +05:30
1 родитель 949cb688dd
Коммит baaaff9d7f
3 files changed
+4 -2

No files matched your search

+1 -1
Просмотреть файл
@@ -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));