test: relax device_to_host_rate

This commit is contained in:
Sebastien Bourdeauducq 2020-07-30 17:46:22 +08:00
parent 455e4859b7
commit 709026d945

View File

@ -59,7 +59,7 @@ class TransferTest(ExperimentCase):
exp = self.create(_Transfer) exp = self.create(_Transfer)
device_to_host_rate = exp.device_to_host() device_to_host_rate = exp.device_to_host()
print(device_to_host_rate/(1024*1024), "MiB/s") print(device_to_host_rate/(1024*1024), "MiB/s")
self.assertGreater(device_to_host_rate, 2.3e6) self.assertGreater(device_to_host_rate, 2.2e6)
def test_device_to_host_array(self): def test_device_to_host_array(self):
exp = self.create(_Transfer) exp = self.create(_Transfer)