aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/polybench-syn/linear-algebra/blas
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-11-17 09:11:01 +0000
committerYann Herklotz <git@yannherklotz.com>2020-11-17 09:11:01 +0000
commit7d9057a6ca6f591851ee5c6e8d74e3833aae3903 (patch)
tree7577f9b16008a7ceb6158eb836909f1fa636dbc8 /benchmarks/polybench-syn/linear-algebra/blas
parent6aa7ea660f19e7bde920b5b22c1c0c93f1be2fd7 (diff)
parent38b249970456a55f0a69ff28070887367e113205 (diff)
downloadvericert-kvx-7d9057a6ca6f591851ee5c6e8d74e3833aae3903.tar.gz
vericert-kvx-7d9057a6ca6f591851ee5c6e8d74e3833aae3903.zip
Merge branch 'dev-experiments'
Diffstat (limited to 'benchmarks/polybench-syn/linear-algebra/blas')
-rw-r--r--benchmarks/polybench-syn/linear-algebra/blas/gemm.c6
-rw-r--r--benchmarks/polybench-syn/linear-algebra/blas/gemver.c6
-rw-r--r--benchmarks/polybench-syn/linear-algebra/blas/gesummv.c3
-rw-r--r--benchmarks/polybench-syn/linear-algebra/blas/symm.c6
-rw-r--r--benchmarks/polybench-syn/linear-algebra/blas/syr2k.c6
-rw-r--r--benchmarks/polybench-syn/linear-algebra/blas/syrk.c6
-rw-r--r--benchmarks/polybench-syn/linear-algebra/blas/trmm.c6
7 files changed, 39 insertions, 0 deletions
diff --git a/benchmarks/polybench-syn/linear-algebra/blas/gemm.c b/benchmarks/polybench-syn/linear-algebra/blas/gemm.c
index a81f094..2c0aaf7 100644
--- a/benchmarks/polybench-syn/linear-algebra/blas/gemm.c
+++ b/benchmarks/polybench-syn/linear-algebra/blas/gemm.c
@@ -11,6 +11,9 @@
#include "../../include/misc.h"
+#ifndef SYNTHESIS
+ #include <stdio.h>
+#endif
#define plus(i) i = i + ONE
static
void init_array(int ni, int nj, int nk,
@@ -50,6 +53,9 @@ int print_array(int ni, int nj,
for (j = 0; j < nj; plus(j)) {
res ^= C[i][j];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}
diff --git a/benchmarks/polybench-syn/linear-algebra/blas/gemver.c b/benchmarks/polybench-syn/linear-algebra/blas/gemver.c
index fafd49f..2f68871 100644
--- a/benchmarks/polybench-syn/linear-algebra/blas/gemver.c
+++ b/benchmarks/polybench-syn/linear-algebra/blas/gemver.c
@@ -11,6 +11,9 @@
#include "../../include/misc.h"
+#ifndef SYNTHESIS
+ #include <stdio.h>
+#endif
#define plus(i) i = i + ONE
static
void init_array (int n,
@@ -63,6 +66,9 @@ int print_array(int n,
for (i = 0; i < n; plus(i)) {
res ^= w[i];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}
diff --git a/benchmarks/polybench-syn/linear-algebra/blas/gesummv.c b/benchmarks/polybench-syn/linear-algebra/blas/gesummv.c
index e9fe78e..c7d30f3 100644
--- a/benchmarks/polybench-syn/linear-algebra/blas/gesummv.c
+++ b/benchmarks/polybench-syn/linear-algebra/blas/gesummv.c
@@ -49,6 +49,9 @@ int print_array(int n,
for (i = 0; i < n; plus(i)) {
res ^= y[i];
}
+#ifndef SYNTHESIS
+ printf("finished: %u\n", res);
+#endif
return res;
}
diff --git a/benchmarks/polybench-syn/linear-algebra/blas/symm.c b/benchmarks/polybench-syn/linear-algebra/blas/symm.c
index f13577b..5e8fb1e 100644
--- a/benchmarks/polybench-syn/linear-algebra/blas/symm.c
+++ b/benchmarks/polybench-syn/linear-algebra/blas/symm.c
@@ -11,6 +11,9 @@
#include "../../include/misc.h"
+#ifndef SYNTHESIS
+ #include <stdio.h>
+#endif
#define plus(i) i = i + ONE
static
void init_array(int m, int n,
@@ -51,6 +54,9 @@ int print_array(int m, int n,
for (j = 0; j < n; plus(j)) {
res ^= C[i][j];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}
diff --git a/benchmarks/polybench-syn/linear-algebra/blas/syr2k.c b/benchmarks/polybench-syn/linear-algebra/blas/syr2k.c
index 2214d4a..3366672 100644
--- a/benchmarks/polybench-syn/linear-algebra/blas/syr2k.c
+++ b/benchmarks/polybench-syn/linear-algebra/blas/syr2k.c
@@ -11,6 +11,9 @@
#include "../../include/misc.h"
+#ifndef SYNTHESIS
+ #include <stdio.h>
+#endif
#define plus(i) i = i + ONE
static
void init_array(int n, int m,
@@ -51,6 +54,9 @@ int print_array(int n,
for (j = 0; j < n; plus(j)) {
res ^= C[i][j];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}
diff --git a/benchmarks/polybench-syn/linear-algebra/blas/syrk.c b/benchmarks/polybench-syn/linear-algebra/blas/syrk.c
index 3c792a0..4dd65a6 100644
--- a/benchmarks/polybench-syn/linear-algebra/blas/syrk.c
+++ b/benchmarks/polybench-syn/linear-algebra/blas/syrk.c
@@ -11,6 +11,9 @@
#include "../../include/misc.h"
+#ifndef SYNTHESIS
+ #include <stdio.h>
+#endif
#define plus(i) i = i + ONE
static
void init_array(int n, int m,
@@ -45,6 +48,9 @@ int print_array(int n,
for (j = 0; j < n; plus(j)) {
res ^= C[i][j];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}
diff --git a/benchmarks/polybench-syn/linear-algebra/blas/trmm.c b/benchmarks/polybench-syn/linear-algebra/blas/trmm.c
index e369fd0..a14d131 100644
--- a/benchmarks/polybench-syn/linear-algebra/blas/trmm.c
+++ b/benchmarks/polybench-syn/linear-algebra/blas/trmm.c
@@ -11,6 +11,9 @@
#include "../../include/misc.h"
+#ifndef SYNTHESIS
+ #include <stdio.h>
+#endif
#define plus(i) i = i + ONE
static
void init_array(int m, int n,
@@ -49,6 +52,9 @@ int print_array(int m, int n,
for (j = 0; j < n; plus(j)) {
res ^= B[i][j];
}
+#ifndef SYNTHESIS
+ printf("finished %u\n", res);
+#endif
return res;
}