From 38b249970456a55f0a69ff28070887367e113205 Mon Sep 17 00:00:00 2001 From: Nadesh Ramanathan Date: Tue, 17 Nov 2020 09:06:04 +0000 Subject: final checks reworked and including compilation time in script --- benchmarks/polybench-syn/linear-algebra/kernels/2mm.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'benchmarks/polybench-syn/linear-algebra/kernels/2mm.c') diff --git a/benchmarks/polybench-syn/linear-algebra/kernels/2mm.c b/benchmarks/polybench-syn/linear-algebra/kernels/2mm.c index f5c5ff3..d8b79e2 100644 --- a/benchmarks/polybench-syn/linear-algebra/kernels/2mm.c +++ b/benchmarks/polybench-syn/linear-algebra/kernels/2mm.c @@ -12,6 +12,10 @@ #include "../../include/misc.h" +#ifndef SYNTHESIS + #include +#endif + #define plus(i) i = i + ONE static void init_array(int ni, int nj, int nk, int nl, @@ -52,6 +56,9 @@ int print_array(int ni, int nl, for (j = 0; j < nl; plus(j)) { res ^= D[i][j]; } +#ifndef SYNTHESIS + printf("finished %u\n", res); +#endif return res; } -- cgit