aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/polybench-syn/stencils
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/polybench-syn/stencils')
-rw-r--r--benchmarks/polybench-syn/stencils/fdtd-2d.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmarks/polybench-syn/stencils/fdtd-2d.c b/benchmarks/polybench-syn/stencils/fdtd-2d.c
index 17acd34..f9f4a84 100644
--- a/benchmarks/polybench-syn/stencils/fdtd-2d.c
+++ b/benchmarks/polybench-syn/stencils/fdtd-2d.c
@@ -9,6 +9,9 @@
*/
/* fdtd-2d.c: this file is part of PolyBench/C */
+#ifndef SYNTHESIS
+#include <stdio.h>
+#endif
#define plus(i) i = i + ONE
static
@@ -64,6 +67,10 @@ int print_array(int nx,
res ^= hz[i][j];
}
+#ifndef SYNTHESIS
+ printf("finished: %u\n", res);
+#endif
+
return res;
}