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/linear-algebra/solvers/ludcmp.c | |
parent | 25f9100da11ccea1d8b5c24160270be425f2cab2 (diff) | |
download | vericert-38b249970456a55f0a69ff28070887367e113205.tar.gz vericert-38b249970456a55f0a69ff28070887367e113205.zip |
final checks reworked and including compilation time in script
Diffstat (limited to 'benchmarks/polybench-syn/linear-algebra/solvers/ludcmp.c')
-rw-r--r-- | benchmarks/polybench-syn/linear-algebra/solvers/ludcmp.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/benchmarks/polybench-syn/linear-algebra/solvers/ludcmp.c b/benchmarks/polybench-syn/linear-algebra/solvers/ludcmp.c index f37d983..0f4522e 100644 --- a/benchmarks/polybench-syn/linear-algebra/solvers/ludcmp.c +++ b/benchmarks/polybench-syn/linear-algebra/solvers/ludcmp.c @@ -11,6 +11,10 @@ #include "../../include/misc.h" +#ifndef SYNTHESIS +#include <stdio.h> +#endif + #define plus(i) i = i + ONE static @@ -71,8 +75,11 @@ int check_array(int n, int res = 0; for (i = 0; i < n; plus(i)) { - res += x[i]; + res ^= x[i]; } +#ifndef SYNTHESIS + printf("finished: %u\n", res); +#endif return res; } |