-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbenchs.sh
90 lines (80 loc) · 4.37 KB
/
benchs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/bash
function ASC_Sequoia() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function BenchmarkGame() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function BitBench() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function CoyoteBench() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Dhrystone() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function DOE_ProxyApps_C() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function McGill() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function MiBench() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Misc() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Shootout() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Stanford() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Ptrdist() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Trimaran() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function TSVC() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function NPB-serial() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function VersaBench() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function FreeBench() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function MallocBench() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function McCat() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Olden() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Prolangs-C() { dirs=($( ls -d */ )); walk "${dirs[@]}" ; }
function Fhourstones() { walk "." ; }
function Fhourstones_31() { walk "." ; }
function Linpack() { walk "." ; }
function ASCI_Purple() { walk "." ; }
function SciMark2-C() { walk "." ; }
function sim() { walk "." ; }
function mafft() { walk "." ; }
function tramp3d-v4() { walk "." ; }
function llubenchmark() { walk "." ; }
function nbench() { walk "." ; }
function PAQ8p() { walk "." ; }
function mediabench() {
dirs=("adpcm/rawcaudio" "adpcm/rawdaudio" "g721/g721encode" "jpeg/jpeg-6a"
"gsm/toast" "mpeg2/mpeg2dec")
walk "${dirs[@]}"
}
function PolyBench(){
dirs=("linear-algebra/kernels/2mm" "linear-algebra/kernels/3mm" "linear-algebra/kernels/atax"
"linear-algebra/kernels/bicg" "linear-algebra/kernels/doitgen" "linear-algebra/kernels/mvt"
"linear-algebra/solvers/cholesky" "linear-algebra/solvers/durbin" "linear-algebra/solvers/gramschmidt"
"linear-algebra/solvers/lu" "linear-algebra/solvers/ludcmp" "linear-algebra/solvers/trisolv"
"linear-algebra/blas/gemm" "linear-algebra/blas/gemver" "linear-algebra/blas/gesummv"
"linear-algebra/blas/symm" "linear-algebra/blas/syr2k" "linear-algebra/blas/syrk"
"linear-algebra/blas/trmm"
"datamining/correlation" "datamining/covariance"
"medley/floyd-warshall" "medley/deriche" "medley/nussinov"
"stencils/adi" "stencils/fdtd-2d" "stencils/heat-3d" "stencils/jacobi-1d" "stencils/jacobi-2d"
"stencils/seidel-2d")
walk "${dirs[@]}"
}
function cBench(){
dirs=("security_rijndael_d/src" "automotive_susan_c/src"
"security_rijndael_e/src" "consumer_jpeg_c/src" "consumer_lame/src"
"bzip2e/src" "telecom_adpcm_d/src" "bzip2d/src"
"network_dijkstra/src" "office_stringsearch1/src"
"consumer_tiffdither/src" "automotive_qsort1/src"
"consumer_jpeg_d/src" "automotive_susan_e/src"
"automotive_bitcount/src" "security_blowfish_e/src" "consumer_tiff2bw/src"
"telecom_CRC32/src" "security_sha/src" "consumer_tiffmedian/src"
"automotive_susan_s/src" "network_patricia/src" "telecom_adpcm_c/src"
"consumer_tiff2rgba/src" "security_blowfish_d/src")
cant=("consumer_mad/src" "office_ispell/src" "office_ghostscript/src" "office_rsynth/src"
"security_pgp_d/src" "security_pgp_e/src" "telecom_gsm/src")
walk "${dirs[@]}"
}
function cpu2006(){
dirs=("400.perlbench/rbc/" "401.bzip2/rbc/" "403.gcc/rbc/" "429.mcf/rbc/"
"433.milc/rbc/" "444.namd/rbc/" "445.gobmk/rbc/"
"456.hmmer/rbc/" "458.sjeng/rbc/" "462.libquantum/rbc/"
"464.h264ref/rbc/" "470.lbm/rbc/")
walk "${dirs[@]}"
}
benchs=( "ASC_Sequoia" "BenchmarkGame" "BitBench" "CoyoteBench" "DOE_ProxyApps_C"
"Dhrystone" "McGill" "MiBench" "Misc" "Shootout" "Stanford" "Fhourstones"
"Linpack" "mediabench" "ASCI_Purple" "Fhourstones_31" "PolyBench"
"SciMark2-C" "sim" "mafft" "tramp3d-v4" "llubenchmark" "nbench" "Ptrdist"
"Trimaran" "TSVC" "PAQ8p" "NPB-serial" "VersaBench" "FreeBench"
"MallocBench" "McCat" "Olden" "Prolangs-C" "cpu2006")