forked from LeelaChessZero/lc0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson_options.txt
134 lines (108 loc) · 3.35 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
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: '',
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('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('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('popcnt',
type: 'boolean',
value: true,
description: 'Use the popcnt instruction')
option('pext',
type: 'boolean',
value: false,
description: 'Use the pext instruction')
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.')