aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/polybench-syn/medley/floyd-warshall.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/polybench-syn/medley/floyd-warshall.c')
-rw-r--r--benchmarks/polybench-syn/medley/floyd-warshall.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmarks/polybench-syn/medley/floyd-warshall.c b/benchmarks/polybench-syn/medley/floyd-warshall.c
index 48a7e8d..e840082 100644
--- a/benchmarks/polybench-syn/medley/floyd-warshall.c
+++ b/benchmarks/polybench-syn/medley/floyd-warshall.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,
@@ -44,6 +48,9 @@ int print_array(int n,
for (j = 0; j < n; plus(j)) {
res ^= path[i][j];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}