diff options
author | Nadesh Ramanathan <nadeshramanathan88@gmail.com> | 2020-11-17 09:06:04 +0000 |
---|---|---|
committer | Nadesh Ramanathan <nadeshramanathan88@gmail.com> | 2020-11-17 09:06:04 +0000 |
commit | 38b249970456a55f0a69ff28070887367e113205 (patch) | |
tree | b5feacc01671b00b55d34a1a41e0e6e3d9e9fa88 /benchmarks/polybench-syn/stencils/fdtd-2d.c | |
parent | 25f9100da11ccea1d8b5c24160270be425f2cab2 (diff) | |
download | vericert-kvx-38b249970456a55f0a69ff28070887367e113205.tar.gz vericert-kvx-38b249970456a55f0a69ff28070887367e113205.zip |
final checks reworked and including compilation time in scriptdev-experiments
Diffstat (limited to 'benchmarks/polybench-syn/stencils/fdtd-2d.c')
-rw-r--r-- | benchmarks/polybench-syn/stencils/fdtd-2d.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmarks/polybench-syn/stencils/fdtd-2d.c b/benchmarks/polybench-syn/stencils/fdtd-2d.c index 853d362..c29982e 100644 --- a/benchmarks/polybench-syn/stencils/fdtd-2d.c +++ b/benchmarks/polybench-syn/stencils/fdtd-2d.c @@ -10,6 +10,11 @@ /* fdtd-2d.c: this file is part of PolyBench/C */ +#ifndef SYNTHESIS +#include <stdio.h> +#endif + + #include "../include/misc.h" #define plus(i) i = i + ONE @@ -64,6 +69,10 @@ int print_array(int nx, res ^= hz[i][j]; } +#ifndef SYNTHESIS + printf("finished %u\n", res); +#endif + return res; } |