SWDEV-411064 - fix device mem size to accurately match memory size from same device
Change-Id: I9caee84c58312053a7b387c8516b386d53c2197f
Este cometimento está contido em:
1 ascendente
ee3c94faf2
cometimento
c340f47ac1
1 ficheiro modificado
+1
@@ -95,6 +95,7 @@ TEST_CASE("Unit_hipDeviceTotalMem_ValidateTotalMem") {
|
||||
HIP_CHECK(hipDeviceTotalMem(&totMem, device));
|
||||
|
||||
size_t free = 0, total = 0;
|
||||
HIP_CHECK(hipSetDevice(devNo));
|
||||
HIP_CHECK(hipMemGetInfo(&free, &total));
|
||||
|
||||
REQUIRE(totMem == prop.totalGlobalMem);
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador