-
Notifications
You must be signed in to change notification settings - Fork 0
/
benchmark_config
129 lines (97 loc) · 3.12 KB
/
benchmark_config
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
########################################
# general config
########################################
#THREADS=(4 2 1) # benchmark target threads, default is (MAXTH, MAXTH/2, MAXTH/4.... 1)
#INITIAL_COMMANDS="echo numa"
OPENBLAS_BUILD=1 # 1 is source build, 0 is apt install
FFTW_BUILD=1 # 1 is source build, 0 is apt install
OPENBLAS_VERSION=v0.3.9 # if OPENBLAS_BUILD=1
OPENBLAS_SRC=https://github.com/xianyi/OpenBLAS.git # if OPENBLAS_BUILD=1
FFTW_VERSION=3.3.8
FFTW_SRC=http://www.fftw.org/fftw-$FFTW_VERSION.tar.gz # if FFTW_BUILD=1
#OPENBLAS_CMAKE_OPTION=""
#FFTW_CMAKE_OPTION=""
#########################################
## BLAS Setting
#########################################
# OpenBLAS SDOT #####################
SDOT_EXEC=1 # 1 or 0
SDOT_MIN_SIZE=1000
SDOT_MAX_SIZE=10000000
SDOT_INCL="*10" # e.g.) "+10", "*100"
SDOT_TRIAL=10 # for average
# OpenBLAS DDOT #####################
DDOT_EXEC=1 # 1 or 0
DDOT_MIN_SIZE=1000
DDOT_MAX_SIZE=10000000
DDOT_INCL="*10" # e.g.) "+10", "*100"
DDOT_TRIAL=10 # for average
# OpenBLAS SGEMV #####################
SGEMV_EXEC=1 # 1 or 0
SGEMV_MIN_SIZE=200
SGEMV_MAX_SIZE=3000
SGEMV_INCL="+200" # e.g.) "+10", "*100"
SGEMV_TRIAL=10 # for average
# OpenBLAS DGEMV #####################
DGEMV_EXEC=1 # 1 or 0
DGEMV_MIN_SIZE=200
DGEMV_MAX_SIZE=3000
DGEMV_INCL="+200" # e.g.) "+10", "*100"
DGEMV_TRIAL=10 # for average
# OpenBLAS SGEMM #####################
SGEMM_EXEC=1 # 1 or 0
SGEMM_MIN_SIZE=200
SGEMM_MAX_SIZE=3000
SGEMM_INCL="+200" # e.g.) "+10", "*100"
SGEMM_TRIAL=10 # for average
# OpenBLAS DGEMM #####################
DGEMM_EXEC=1 # 1 or 0
DGEMM_MIN_SIZE=200
DGEMM_MAX_SIZE=3000
DGEMM_INCL="+200" # e.g.) "+10", "*100"
DGEMM_TRIAL=10 # for average
#########################################
## FFT Setting
#########################################
# 1D FFT (in single precision) #####################
SFFT1D_FORWARD_EXEC=1 # 1 or 0
SFFT1D_BACKWARD_EXEC=1 # 1 or 0
SFFT1D_MIN_SIZE=128
SFFT1D_MAX_SIZE=2048
SFFT1D_INCL="*2" # e.g.) "+10", "*100"
SFFT1D_TRIAL=100 # for average
# 1D FFT (in double precision) #####################
DFFT1D_FORWARD_EXEC=1 # 1 or 0
DFFT1D_BACKWARD_EXEC=1 # 1 or 0
DFFT1D_MIN_SIZE=128
DFFT1D_MAX_SIZE=2048
DFFT1D_INCL="*2" # e.g.) "+10", "*100"
DFFT1D_TRIAL=100 # for average
# 2D FFT (in single precision) #####################
SFFT2D_FORWARD_EXEC=1 # 1 or 0
SFFT2D_BACKWARD_EXEC=1 # 1 or 0
SFFT2D_MIN_SIZE=128
SFFT2D_MAX_SIZE=2048
SFFT2D_INCL="*2" # e.g.) "+10", "*100"
SFFT2D_TRIAL=100 # for average
# 2D FFT (in double precision) #####################
DFFT2D_FORWARD_EXEC=1 # 1 or 0
DFFT2D_BACKWARD_EXEC=1 # 1 or 0
DFFT2D_MIN_SIZE=128
DFFT2D_MAX_SIZE=2048
DFFT2D_INCL="*2" # e.g.) "+10", "*100"
DFFT2D_TRIAL=100 # for average
# 3D FFT (in single precision) #####################
SFFT3D_FORWARD_EXEC=1 # 1 or 0
SFFT3D_BACKWARD_EXEC=1 # 1 or 0
SFFT3D_MIN_SIZE=128
SFFT3D_MAX_SIZE=2048
SFFT3D_INCL="*2" # e.g.) "+10", "*100"
SFFT3D_TRIAL=100 # for average
# 3D FFT (in double precision) #####################
DFFT3D_FORWARD_EXEC=1 # 1 or 0
DFFT3D_BACKWARD_EXEC=1 # 1 or 0
DFFT3D_MIN_SIZE=128
DFFT3D_MAX_SIZE=2048
DFFT3D_INCL="*2" # e.g.) "+10", "*100"
DFFT3D_TRIAL=100 # for average