diff options
author | Thomas White <taw@physics.org> | 2016-07-29 17:41:20 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-07-29 17:42:23 +0200 |
commit | 34e38d7b04cdea0207c9982086c5259c775d83ec (patch) | |
tree | 433d4eda2e901f8833a10512813c1b6e5398f2b8 /tests | |
parent | 2ced78d5e2929ece710f8bf4ce8719ce6d81514f (diff) |
tests/gpu_sim_check: Restore actual check (!)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gpu_sim_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpu_sim_check.c b/tests/gpu_sim_check.c index 5a98456f..c471fb0f 100644 --- a/tests/gpu_sim_check.c +++ b/tests/gpu_sim_check.c @@ -229,7 +229,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 ( 1 ) { + if ( perc > 1.0 ) { STATUS("Test failed! I'm writing cpu-sim.h5 and gpu-sim.h5" " for you to inspect.\n"); |