kfdtest: dynamically increase timeout for P2PBandWidthTest
Incease more timeout according to peers number to pass the
test on some PCIe link platforms.
Change-Id: Ifcb8c7297d6960c96fc18d29bc0a48733ca50165
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
[ROCm/ROCR-Runtime commit: 7c62a12918]
Este commit está contenido en:
cometido por
JinHuiEric Huang
padre
0f5d0a9c3f
commit
e007b37f6e
@@ -167,6 +167,8 @@ TEST_F(KFDPerformanceTest, P2PBandWidthTest) {
|
||||
return;
|
||||
}
|
||||
|
||||
g_TestTimeOut *= numPeers;
|
||||
|
||||
std::vector<int> sysNodes(nodes); // include sysMem node 0...
|
||||
sysNodes.insert(sysNodes.begin(),0);
|
||||
|
||||
@@ -308,6 +310,8 @@ TEST_F(KFDPerformanceTest, P2PBandWidthTest) {
|
||||
(float)speed2 / 1024 << " GB/s" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
g_TestTimeOut /= numPeers;
|
||||
exit:
|
||||
/* New line.*/
|
||||
LOG() << std::endl << msg.str() << std::endl;
|
||||
|
||||
Referencia en una nueva incidencia
Block a user