diff options
Diffstat (limited to 'tests/gpu_sim_check.c')
-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"); |