aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/polybench-syn/stencils/jacobi-1d.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/polybench-syn/stencils/jacobi-1d.c')
-rw-r--r--benchmarks/polybench-syn/stencils/jacobi-1d.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmarks/polybench-syn/stencils/jacobi-1d.c b/benchmarks/polybench-syn/stencils/jacobi-1d.c
index 95cbb35..7b1d692 100644
--- a/benchmarks/polybench-syn/stencils/jacobi-1d.c
+++ b/benchmarks/polybench-syn/stencils/jacobi-1d.c
@@ -11,6 +11,10 @@
#include "../include/misc.h"
+#ifndef SYNTHESIS
+#include <stdio.h>
+#endif
+
#define plus(i) i = i + ONE
static
void init_array (int n,
@@ -45,6 +49,9 @@ int print_array(int n,
{
res ^= A[i];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}