projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up canonical mt benchmarks and reorganize extra versions in /mt. All versions...
[riscv-tests.git]
/
benchmarks
/
mt-matmul
/
dataset.h
diff --git
a/benchmarks/mt-matmul/dataset.h
b/benchmarks/mt-matmul/dataset.h
index dde3ee4577949b3550f043e0e02bba465a5e454e..2c59a33f49dbb74ac8b1be2dab489cf26e1b6070 100644
(file)
--- a/
benchmarks/mt-matmul/dataset.h
+++ b/
benchmarks/mt-matmul/dataset.h
@@
-1,9
+1,12
@@
+#ifndef __DATASET_H
+#define __DATASET_H
#define ARRAY_SIZE 1024
#define ARRAY_SIZE 1024
-
#define DIM_SIZE 32
#define DIM_SIZE 32
+typedef double data_t;
+
static data_t input1_data[ARRAY_SIZE] =
{
0, 3, 2, 0, 3, 1, 0, 3, 2, 3, 2, 0, 3, 3, 1, 2, 3, 0, 0, 1,
static data_t input1_data[ARRAY_SIZE] =
{
0, 3, 2, 0, 3, 1, 0, 3, 2, 3, 2, 0, 3, 3, 1, 2, 3, 0, 0, 1,
@@
-172,3
+175,5
@@
static data_t verify_data[ARRAY_SIZE] =
69, 73, 94, 89
};
69, 73, 94, 89
};
+
+#endif //__DATASET_H