kfdtest: KFDMemoryTest.DeviceHdpFlush requires large bar
KFDMemoryTest.DeviceHdpFlush requires device node 0 is large bar to
check VRAM content from CPU, run the test only if device 0 is large
bar GPU.
Change-Id: I874b153219550c50b724625e971e3ed3a84dc652
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
[ROCm/ROCR-Runtime commit: 598e3e8d86]
Šī revīzija ir iekļauta:
revīziju iesūtīja
Graham Sider
vecāks
252acefd9c
revīzija
bc5d6f5bf7
@@ -1924,6 +1924,11 @@ TEST_F(KFDMemoryTest, DeviceHdpFlush) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!m_NodeInfo.IsGPUNodeLargeBar(nodes[0])) {
|
||||
LOG() << "Skipping test: Test requires device 0 large bar GPU." << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
HsaMemoryProperties *memoryProperties = new HsaMemoryProperties[pNodeProperties->NumMemoryBanks];
|
||||
EXPECT_SUCCESS(hsaKmtGetNodeMemoryProperties(nodes[0], pNodeProperties->NumMemoryBanks,
|
||||
memoryProperties));
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user