From 34e38d7b04cdea0207c9982086c5259c775d83ec Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 29 Jul 2016 17:41:20 +0200 Subject: tests/gpu_sim_check: Restore actual check (!) --- tests/gpu_sim_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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"); -- cgit v1.2.3