From ac49d6b68fd32b9e5a58ebda2c4e6599c499701c Mon Sep 17 00:00:00 2001 From: Bzzztt <65968447+Bzzztt@users.noreply.github.com> Date: Tue, 30 Jul 2024 20:58:55 +0000 Subject: [PATCH] Change = to += in loops.c kernel 6 Should sum products, as in its original implementation, instead of repeatedly reassigning w[i] --- benchmarks/fp/loops/loops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/fp/loops/loops.c b/benchmarks/fp/loops/loops.c index 6c29ab9..04e145f 100644 --- a/benchmarks/fp/loops/loops.c +++ b/benchmarks/fp/loops/loops.c @@ -846,7 +846,7 @@ e_fp linear_recurrence(loops_params *p) { for ( l=1 ; l<=loop ; l++ ) { for ( i=1 ; i