kfdtest: Restrict DriverHDPFlush to systems with PCIe
Nodes with XGMI have no HDP, so DriverHDPFlush should skip. Signed-off-by: David Francis <David.Francis@amd.com> Change-Id: If5a87e660712e51d03e750d8e044786036b2e603
Este commit está contenido en:
cometido por
Graham Sider
padre
16c6530330
commit
e32278a612
@@ -1919,6 +1919,11 @@ TEST_F(KFDMemoryTest, DeviceHdpFlush) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_NodeInfo.IsNodeXGMItoCPU(nodes[0])) {
|
||||
LOG() << "Skipping test: PCIe link to CPU is required." << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
HsaMemoryProperties *memoryProperties = new HsaMemoryProperties[pNodeProperties->NumMemoryBanks];
|
||||
EXPECT_SUCCESS(hsaKmtGetNodeMemoryProperties(nodes[0], pNodeProperties->NumMemoryBanks,
|
||||
memoryProperties));
|
||||
|
||||
Referencia en una nueva incidencia
Block a user