aboutsummaryrefslogtreecommitdiff
path: root/tests/gpu_sim_check.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-05-14 10:02:02 +0200
committerThomas White <taw@physics.org>2019-05-14 10:02:02 +0200
commita767ded362c1d5cd804ea4763bc902d87a10e4ec (patch)
treeae150c7546671a31bfa1f6e5aa40f0e19637640f /tests/gpu_sim_check.c
parentdc713c7637473e4fcf15c094f52778918029078f (diff)
gpu_sim_check: Increase tolerance from 1% to 1.1%
1.03% deviation was observed in the wild, with no apparent problems.
Diffstat (limited to 'tests/gpu_sim_check.c')
-rw-r--r--tests/gpu_sim_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpu_sim_check.c b/tests/gpu_sim_check.c
index e42bc68b..f1d7866f 100644
--- a/tests/gpu_sim_check.c
+++ b/tests/gpu_sim_check.c
@@ -239,7 +239,7 @@ int main(int argc, char *argv[])
STATUS("CPU: min=%8e, max=%8e, total=%8e\n", cpu_min, cpu_max, cpu_tot);
STATUS("dev = %8e (%5.2f%% of CPU total)\n", dev, perc);
- if ( perc > 1.0 ) {
+ if ( perc > 1.1 ) {
STATUS("Test failed! I'm writing cpu-sim.h5 and gpu-sim.h5"
" for you to inspect.\n");