forked from LeelaChessZero/lc0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson_options.txt
174 lines (140 loc) · 4.32 KB
/
meson_options.txt
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
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('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('cudnn',
type: 'boolean',
value: true,
description: 'Enable cuDNN backend')
option('plain_cuda',
type: 'boolean',
value: true,
description: 'Enable CUDA backend')
option('opencl',
type: 'boolean',
value: true,
description: 'Enable OpenCL backend')
option('dx',
type: 'boolean',
value: true,
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: true,
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('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('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('onnx_libdir',
type: 'string',
value: '',
description: 'Paths to ONNX runtime libraries')
option('onnx_include',
type: 'string',
value: '',
description: 'Paths to ONNX runtime includes')