diff options
author | Henry Cook <hcook@eecs.berkeley.edu> | 2014-12-17 19:12:08 -0800 |
---|---|---|
committer | Henry Cook <hcook@eecs.berkeley.edu> | 2014-12-17 19:12:43 -0800 |
commit | f108f3a6c2c16beb1b12389cfa4ee517faa79945 (patch) | |
tree | ff0fde098b31e4fb526abc0c1bafdaaba885bf04 /benchmarks/mt-matmul | |
parent | 4fbf574543fe76c2ca75c9a524782449d8ff135a (diff) | |
download | riscv-tests-f108f3a6c2c16beb1b12389cfa4ee517faa79945.zip riscv-tests-f108f3a6c2c16beb1b12389cfa4ee517faa79945.tar.gz riscv-tests-f108f3a6c2c16beb1b12389cfa4ee517faa79945.tar.bz2 |
minor mt updates
Diffstat (limited to 'benchmarks/mt-matmul')
-rwxr-xr-x | benchmarks/mt-matmul/matmul_gendata.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmarks/mt-matmul/matmul_gendata.pl b/benchmarks/mt-matmul/matmul_gendata.pl index f21bb46..13763ec 100755 --- a/benchmarks/mt-matmul/matmul_gendata.pl +++ b/benchmarks/mt-matmul/matmul_gendata.pl @@ -187,12 +187,17 @@ sub main() } } + print "\n#ifndef __DATASET_H"; + print "\n#define __DATASET_H"; print "\n\#define ARRAY_SIZE ".($opts{"size"}*$opts{"size"})." \n\n"; print "\n\#define DIM_SIZE ".$opts{"size"}." \n\n"; + print "\ntypedef double data_t;"; printArray( "input1_data", \@values1 ); printArray( "input2_data", \@values2 ); printArray( "verify_data", \@results); + + print "\n#endif //__DATASET_H"; } |