-
Notifications
You must be signed in to change notification settings - Fork 603
Expand file tree
/
Copy pathmeson_options.txt
More file actions
271 lines (218 loc) · 6.76 KB
/
Copy pathmeson_options.txt
File metadata and controls
271 lines (218 loc) · 6.76 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
option('openblas_include',
type: 'array',
value: ['/usr/include/openblas/'],
description: 'Paths to openblas include directories')
option('opencl_include',
type: 'string',
value: '/usr/include/',
description: 'Path to OpenCL include directory')
option('openblas_libdirs',
type: 'array',
value: ['/usr/lib/'],
description: 'Paths to OpenBLAS libraries')
option('opencl_libdirs',
type: 'array',
value: ['/opt/cuda/lib64/', '/usr/local/cuda/lib64/'],
description: 'Paths to OpenCL libraries')
option('cudnn_libdirs',
type: 'array',
value: ['/opt/cuda/lib64/', '/usr/local/cuda/lib64/', '/usr/lib/cuda/lib64/'],
description: 'Paths to Cuda/cudnn libraries')
option('mkl_libdirs',
type: 'array',
value: ['/opt/intel/lib/intel64', '/opt/intel/mkl/lib/intel64', '/opt/intel/mkl/lib'],
description: 'Paths to MKL libraries')
option('mkl_include',
type: 'array',
value: ['/opt/intel/mkl/include'],
description: 'Paths to MKL libraries')
option('dnnl_dir',
type: 'string',
value: '/usr',
description: 'Paths to DNNL install directory')
option('cudnn_include',
type: 'array',
value: ['/opt/cuda/include/', '/usr/local/cuda/include/', '/usr/lib/cuda/include/'],
description: 'Paths to cudnn include directory')
option('cutlass_include',
type: 'string',
value: '',
description: 'Paths to cutlass include directory')
option('build_backends',
type: 'boolean',
value: true,
description: 'Build backends for NN computation')
option('blas',
type: 'boolean',
value: true,
description: 'Enable BLAS backend')
option('ispc',
type: 'boolean',
value: true,
description: 'use ispc')
option('ispc_native_only',
type: 'boolean',
value: true,
description: 'use ispc and enable native arch only')
option('native_cuda',
type: 'boolean',
value: true,
description: 'build cuda code for native arch only (if supported)')
option('native_arch',
type: 'boolean',
value: true,
description: 'build code for native arch only')
option('cudnn',
type: 'boolean',
value: false,
description: 'Enable cuDNN backend')
option('plain_cuda',
type: 'boolean',
value: true,
description: 'Enable CUDA backend')
option('cutlass',
type: 'boolean',
value: true,
description: 'Enable cutlass lib for cuda backend. Only supports Ampere+ right now')
option('opencl',
type: 'boolean',
value: false,
description: 'Enable OpenCL backend')
option('dx',
type: 'boolean',
value: false,
description: 'Enable DirectX12 backend')
option('tensorflow',
type: 'boolean',
value: false,
description: 'Enable TensorFlow backend')
option('onednn',
type: 'boolean',
value: false,
description: 'Enable oneDNN backend')
option('openblas',
type: 'boolean',
value: true,
description: 'Enable OpenBLAS support')
option('mkl',
type: 'boolean',
value: false,
description: 'Enable MKL BLAS support')
option('dnnl',
type: 'boolean',
value: false,
description: 'Enable DNNL BLAS support')
option('accelerate',
type: 'boolean',
value: true,
description: 'Enable Accelerate BLAS support')
option('metal',
type: 'feature',
value: 'auto',
description: 'Enable Metal backend')
option('malloc',
type : 'string',
value: '',
description: 'Use alternative memory allocator, e.g. tcmalloc/jemalloc')
option('mimalloc_libdir',
type : 'string',
value: '',
description: 'Library directory for malloc=mimalloc')
option('popcnt',
type: 'boolean',
value: true,
description: 'Use the popcnt instruction')
option('f16c',
type: 'boolean',
value: true,
description: 'Use natice fp16 conversion instructions')
option('pext',
type: 'boolean',
value: false,
description: 'Use the pext instruction')
option('neon',
type: 'boolean',
value: true,
description: 'Use neon instructions on arm processors')
option('gtest',
type: 'boolean',
value: true,
description: 'Build gtest tests')
option('embed',
type: 'boolean',
value: false,
description: 'Use embedded net by default')
option('nvcc_ccbin',
type: 'string',
value: '',
description: 'Override C++ compiler used by cuda nvcc')
option('python_bindings',
type: 'boolean',
value: false,
description: 'Build Python bindings for the python to bind.')
option('cc_cuda',
type: 'string',
value: '',
description: 'Build for a specific cuda CC, e.g. -Dcc_cuda=35 for CC 3.5')
option('amd_gfx',
type: 'string',
value: '',
description: 'Build for a specific AMD GPU architecture, e.g. -Damd_gfx=gfx90a for gfx90a')
option('onnx',
type: 'boolean',
value: true,
description: 'Enable ONNX backends')
option('onnx_libdir',
type: 'string',
value: '/usr/lib/',
description: 'Paths to ONNX runtime libraries')
option('onnx_include',
type: 'string',
value: '/usr/include/onnxruntime/',
description: 'Paths to ONNX runtime includes')
option('xla',
type: 'boolean',
value: false,
description: 'Enable XLA backend')
option('sycl',
type: 'combo',
choices : ['off', 'l0', 'amd', 'nvidia'],
value: 'off',
description: 'Enable SYCL backend')
option('hip_libdirs',
type: 'array',
value: ['/opt/rocm/lib'],
description: 'Paths to AMD HIP libraries')
option('hip_include',
type: 'array',
value: ['/opt/rocm/include'],
description: 'Path to AMD HIP includes')
option('trace_library',
type: 'combo',
choices: ['off', 'perfetto', 'nvtx'],
value: 'off',
description: 'Enable trace library support')
option('lc0',
type: 'boolean',
value: true,
description: 'Build Lc0')
option('rescorer',
type: 'boolean',
value: false,
description: 'Build rescorer')
option('default_search',
type: 'string',
value: '',
description: 'Default search algorithm to use, e.g. -Ddefault_search=classic')
option('default_backend',
type: 'string',
value: '',
description: 'Default backend to use, e.g. -Ddefault_backend=onnx-trt')
option('dag_classic',
type: 'boolean',
value: true,
description: 'Enable dag-classic search algorithm')
option('nvcc',
type: 'boolean',
value: true,
description: 'Use nvcc: required for cuda, optional for onnx')