SWDEV-466622 - Added fix for Unit_hipMallocArray_happy test

Change-Id: I9b647aff69ba92f97b2ca17eac49d58ae63fa858


[ROCm/hip-tests commit: 3acc6a4020]
이 커밋은 다음에 포함됨:
Ioannis Assiouras 작성하고 Rakesh Roy가 2024-07-16 14:52:51 -04:00를 커밋함
1 부모 274601814c
커밋 a6afaec892
2 파일이 변경됨
+4 -4

검색과 일치하는 파일 없음

+4 -2
파일 보기
@@ -58,9 +58,11 @@ template <typename T> void checkDataIsAscending(const std::vector<T>& hostData)
size_t i = 0;
for (; i < hostData.size(); ++i) {
allMatch = allMatch && hostData[i] == static_cast<T>(i);
if (!allMatch) break;
if (!allMatch) {
INFO("hostData[" << i << "] == " << static_cast<T>(hostData[i]));
break;
}
}
INFO("hostData[" << i << "] == " << static_cast<T>(hostData[i]));
REQUIRE(allMatch);
}