From daae800e3ea46732a7f52b3d3f8a476d1ff5d43c Mon Sep 17 00:00:00 2001 From: Javier Otero Date: Thu, 10 Dec 2020 17:52:29 +0100 Subject: [PATCH] Bugfix gpu_burn output. --- cscs-checks/microbenchmarks/gpu/gpu_burn/src/gpu_burn.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscs-checks/microbenchmarks/gpu/gpu_burn/src/gpu_burn.cu b/cscs-checks/microbenchmarks/gpu/gpu_burn/src/gpu_burn.cu index 4e2f9e51f1..0c6c5b50eb 100644 --- a/cscs-checks/microbenchmarks/gpu/gpu_burn/src/gpu_burn.cu +++ b/cscs-checks/microbenchmarks/gpu/gpu_burn/src/gpu_burn.cu @@ -265,7 +265,7 @@ public: // Get the time difference and return the flops std::chrono::duration diff = end-start; - double Gflops = 1e-9 * iters * reps * OPS_PER_MUL * diff.count(); + double Gflops = 1e-9 * iters * reps * OPS_PER_MUL / diff.count(); // Reset the counters err = 0; reps = 0;