SWDEV-409113,SWDEV-409114,SWDEV-409112,SWDEV-409111,SWDEV-409110,SWDEV-409109,SWDEV-409096,SWDEV-409105 - Remove strong assumptions on hipMemGetInfo reported memory. (#373)

Change-Id: I6751e20690b93a3db35d98e45d295e5465387c5a
Esse commit está contido em:
ROCm CI Service Account
2023-07-20 10:20:05 +05:30
commit de GitHub
commit b8fb6f88b9
5 arquivos alterados com 3 adições e 601 exclusões
-6
Ver Arquivo
@@ -67,12 +67,6 @@ template <typename T> void checkDataIsAscending(const std::vector<T>& hostData)
REQUIRE(allMatch);
}
inline size_t getFreeMem() {
size_t free = 0, total = 0;
HIP_CHECK(hipMemGetInfo(&free, &total));
return free;
}
struct Sizes {
int max1D;
std::array<int, 2> max2D;