-
Notifications
You must be signed in to change notification settings - Fork 2
/
deeplearning.cabal
325 lines (289 loc) · 12 KB
/
deeplearning.cabal
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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
name: deeplearning
version: 0.3
license: BSD3
license-file: LICENSE
author: Krzysztof Skrzętnicki
maintainer: gtener@gmail.com
category: Game
build-type: Simple
cabal-version: >=1.8
flag matlab
description: build Matlab/Octave based functionality
default: False
flag build-experiments
description: build various executables
default: False
flag build-utils
description: build utility executables
default: False
flag abalone
description: build code for Abalone game
default: False
-- flag accelerate
-- description: build code requiring Accelerate
-- default: False
flag vector-hmatrix
description: use hmatrix-based implementation of vector/matrix ops
default: True
flag vector-vector
description: use vector-based implementation of vector/matrix ops
default: False
-- flag vector-dph
-- description: use dph-based implementation of vector/matrix ops
-- default: False
flag vector-ddot
description: use cblas_ddot-based implementation of vector/matrix ops (use together with -fvector-vector)
default: False
flag histogram
description: build HistogramGeneric
default: False
library
hs-source-dirs: lib
exposed-modules: NeuralNets, THUtils, Utils, MinimalNN, GraphNN, Config,
GenericGame, AgentGeneric, BreakthroughGame,
ConstraintsGeneric, ThreadLocal,
LittleGolem, MinimalGA, MCTS, MyVectorType
build-depends: base, mwc-random, process, containers == 0.5.*, hashmap, game-tree, split, template-haskell,
hashable == 1.2.0.4,
vector, io-memoize, data-default, async,
filepath, directory, transformers,
bytestring, gnuplot, zlib, chronograph, attoparsec, text, time, old-locale,
GA, random, array, deepseq, data-timeout, binary, ghc-prim,
terminal-progress-bar
ghc-options: -Wall -feager-blackholing
extensions: RankNTypes, FlexibleContexts
if os(windows)
cpp-options: -DWINDOWS
else
build-depends: unix
-- if flag(histogram)
-- exposed-modules: HistogramGeneric
-- build-depends: Histogram
-- configurable functionality
if flag(vector-vector)
build-depends: vector-binary-instances
cpp-options: -DVECTOR_VECTOR
if flag(vector-vector) && flag(vector-ddot)
extra-libraries: gsl gslcblas m
-- extra-lib-dirs: /usr/lib
-- ld-options: ddot.o
-- ld-options: -lgslcblas
extensions: ForeignFunctionInterface
cpp-options: -DVECTOR_DDOT
if flag(vector-hmatrix)
build-depends: hmatrix
cpp-options: -DVECTOR_HMATRIX
-- if flag(vector-dph)
-- build-depends: dph-base, dph-prim-par, dph-lifted-vseg
-- cpp-options: -DVECTOR_DPH
-- optional functionality
if flag(abalone)
build-depends: grid == 2.*, global-variables
cpp-options: -DABALONE
exposed-modules: CommonDatatypes, Constraints, Board, Tournament, Agent, NNBoard
if flag(matlab)
build-depends: Interpolation
exposed-modules: Matlab, GenericGameExperiments, ConstraintsGA
-- if flag(accelerate)
-- build-depends: accelerate, accelerate-cuda, accelerate-io
-- exposed-modules: ConstraintsAccelerate
-- Executable abalone
-- Main-is: src/abalone.hs
-- Build-depends: base, deeplearning, async, time, process
-- Ghc-options: -rtsopts -fprof-auto -fprof-auto-top -Wall -threaded
--
-- Executable trace-games
-- Main-is: src/trace-games.hs
-- Build-depends: base, deeplearning, async, time, process
-- Ghc-options: -rtsopts -fprof-auto -fprof-auto-top -Wall -threaded
--
-- Executable tournament
-- Main-is: src/tournament.hs
-- Build-depends: base, deeplearning, data-default
-- Ghc-options: -rtsopts -fprof-auto -fprof-auto-top -Wall -threaded
--
-- Executable constraints-single-random-neuron
-- Main-is: src/constraints-single-random-neuron.hs
-- Build-depends: base, deeplearning, async
-- Ghc-options: -rtsopts -fprof-auto -fprof-auto-top -Wall -threaded
--
-- Executable dense-to-sparse
-- Main-is: src/dense-to-sparse.hs
-- Build-depends: base, filepath
-- Ghc-options: -rtsopts
--
-- Executable breakthrough-driver
-- Main-is: src/breakthrough-driver.hs
-- Build-depends: base, deeplearning, async, data-default
-- Ghc-options: -rtsopts -threaded
--
-- Executable histograms-printer
-- Main-is: src/histograms-printer.hs
-- Build-depends: base, deeplearning, async, data-default
-- Ghc-options: -rtsopts
--
-- Executable gg-exp1
-- Main-is: src/gg-exp1.hs
-- Build-depends: base, deeplearning, async, data-default
-- Ghc-options: -rtsopts
--
-- Executable gg-exp2
-- Main-is: src/gg-exp2.hs
-- Build-depends: base, deeplearning, async, data-default
-- Ghc-options: -rtsopts
--
-- Executable gg-exp3
-- Main-is: src/gg-exp3.hs
-- Build-depends: base, deeplearning, async, data-timeout, directory, chronograph, data-default, text, deepseq, parallel, uglymemo
-- Ghc-options: -rtsopts -threaded -Wall -feager-blackholing
-- if flag(build-experiments) && flag(matlab)
-- Buildable: True
-- else
-- Buildable: False
--
-- Executable gg-exp4
-- Main-is: src/gg-exp4.hs
-- Build-depends: base, deeplearning
-- Ghc-options: -rtsopts -threaded -Wall
--
-- Executable gg-exp5
-- Main-is: src/gg-exp5.hs
-- Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory
-- Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
-- if flag(build-experiments) && flag(matlab)
-- Buildable: True
-- else
-- Buildable: False
--
-- Executable gg-exp6
-- Main-is: src/gg-exp6.hs
-- Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory
-- Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
-- if flag(build-experiments) && flag(matlab)
-- Buildable: True
-- else
-- Buildable: False
--
-- Executable gg-exp7
-- Main-is: src/gg-exp7.hs
-- Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory
-- Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
-- if flag(build-experiments) && flag(matlab)
-- Buildable: True
-- else
-- Buildable: False
Executable gg-exp8
Main-is: src/gg-exp8.hs
Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory, containers
Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
if flag(build-experiments) && flag(matlab)
Buildable: True
else
Buildable: False
-- Executable gg-exp9
-- Main-is: src/gg-exp9.hs
-- Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory, containers, mwc-random
-- Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
-- if flag(build-experiments) && flag(matlab)
-- Buildable: True
-- else
-- Buildable: False
Executable gg-exp9
Main-is: src/gg-exp9.hs
Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory, containers, mwc-random
Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
if flag(build-experiments) && flag(matlab)
Buildable: True
else
Buildable: False
Executable gg-exp10
Main-is: src/gg-exp10.hs
Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory, containers == 0.5.*, mwc-random, split
Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
if flag(build-experiments) && flag(matlab)
Buildable: True
else
Buildable: False
Executable gg-exp11
Main-is: src/gg-exp11.hs
Build-depends: base, deeplearning, data-timeout, data-default, parallel, deepseq, async, filepath, directory, containers == 0.5.*, mwc-random, split
Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
if flag(build-experiments) && flag(matlab)
Buildable: True
else
Buildable: False
-- Executable experiment-progress-email-reporter
-- Main-is: src/experiment-progress-email-reporter.hs
-- Build-depends: base, blaze-html, mime-mail, filepath, directory, process, text
-- if flag(build-utils)
-- Buildable: True
-- else
-- Buildable: False
--
Executable standalone-dbn-evaluator
Main-is: src/standalone-dbn-evaluator.hs
Build-depends: base, deeplearning
Ghc-options: -rtsopts -threaded -Wall -O2 -feager-blackholing
if flag(build-utils) && flag(matlab)
Buildable: True
else
Buildable: False
--
-- Executable dbn-converter
-- Main-is: src/dbn-converter.hs
-- Build-depends: base, deeplearning, hmatrix, directory, filepath, binary, ghc-prim
-- if flag(build-utils)
-- Buildable: True
-- else
-- Buildable: False
--
-- -- Executable repr-benchmark
-- -- Main-is: src/repr-nn-benchmark.hs
-- -- Build-depends: base, deeplearning, filepath, criterion, hmatrix, hashmap
-- -- Ghc-options: -rtsopts -O2
--
--
-- -- Executable nn-benchmark-01
-- -- Main-is: src/nn-benchmark.hs
-- -- Build-depends: base, filepath, criterion, mwc-random, vector, hnn == 0.1
-- -- Ghc-options: -rtsopts -O2
-- -- buildable: False
-- -- cpp-options: -DBENCH01
-- --
-- -- Executable nn-benchmark-02
-- -- Main-is: src/nn-benchmark.hs
-- -- Build-depends: base, filepath, criterion, mwc-random, vector, hnn == 0.2.0.0.20121218
-- -- Ghc-options: -rtsopts -O2
-- -- buildable: False
-- -- cpp-options: -DBENCH02
--
-- -- Executable nn-benchmark-03
-- -- Main-is: src/nn-benchmark.hs
-- -- Build-depends: base, deeplearning, filepath, criterion == 0.6.2.0, mwc-random, vector, split, hmatrix, HaskellNN == 0.1.3, hnn == 0.2.0.0.20121218
-- -- Ghc-options: -rtsopts -O2
-- -- buildable: True
-- -- cpp-options: -DBENCH03
--
-- -- if flag(bench01)
-- -- build-depends: hnn == 0.1
-- -- cpp-options: -DBENCH01
-- -- buildable: True
-- -- if flag(bench02)
-- -- build-depends: hnn == 0.2.0.0.20121218
-- -- cpp-options: -DBENCH02
-- -- buildable: True
-- -- if flag(bench03)
-- -- build-depends: HaskellNN
-- -- cpp-options: -DBENCH03
-- -- buildable: True
--
-- Executable get-finished-games
-- Main-is: src/get-finished-games.hs
-- Build-depends: base, filepath, deeplearning
-- Ghc-options: -rtsopts
--
-- test-suite doctests
-- type: exitcode-stdio-1.0
-- ghc-options: -threaded
-- main-is: src/doctests.hs
-- build-depends: base, doctest >= 0.8