SWDEV-466622 - Added fix for Unit_hipMallocArray_happy test

Change-Id: I9b647aff69ba92f97b2ca17eac49d58ae63fa858
This commit is contained in:
Ioannis Assiouras
2024-06-07 13:39:54 +01:00
committed by Rakesh Roy
szülő 59471ab86b
commit 3acc6a4020
2 fájl változott, egészen pontosan 4 új sor hozzáadva és 4 régi sor törölve
@@ -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);
}