Bump package versions to 0.8
[packages/dph.git] / dph-examples / dph-examples.cabal
1
2
3 Name:                dph-examples
4 Version:             0.8.0.1
5 License:             BSD3
6 License-file:        LICENSE
7 Author:              The DPH Team
8 Maintainer:          Ben Lippmeier <benl@ouroborus.net>
9 Build-Type:          Simple
10 Cabal-Version:       >=1.8
11 Stability:           experimental
12 Category:            Data Structures
13 Homepage:            http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell
14 Description:         Data Parallel Haskell example programs.
15 Synopsis:            Data Parallel Haskell example programs.
16
17 -- Smoke ----------------------------------------------------------------------
18 -- examples/smoke/data
19 Executable dph-smoke-bool
20   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
21   Main-is:        Main.hs
22   other-modules:  Vectorised
23   hs-source-dirs: examples/smoke/data/Bool
24   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
25
26
27 -- examples/smoke/prims
28 Executable dph-smoke-concat
29   build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
30   main-is:        Main.hs
31   other-modules:  Vectorised
32   hs-source-dirs: examples/smoke/prims/Concat
33   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
34
35
36 Executable dph-smoke-sumsq
37   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
38   Main-is:        Main.hs
39   other-modules:  Vector
40                   Vectorised
41                   Timing Randomish
42   hs-source-dirs: examples/smoke/prims/SumSquares/dph lib
43   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
44  
45  
46 Executable dph-smoke-evens
47   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
48   Main-is:        Main.hs
49   other-modules:  Vector
50                   Vectorised
51                   Timing Randomish
52   hs-source-dirs: examples/smoke/prims/Evens/dph lib
53   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
54
55
56 -- examples/smoke/sharing
57 Executable dph-smoke-indices
58   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
59   Main-is:        Main.hs
60   other-modules:  Vectorised Vector
61   hs-source-dirs: examples/smoke/sharing/Indices lib
62   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
63  
64  
65 Executable dph-smoke-rank
66   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
67   Main-is:        Main.hs
68   other-modules:  Vectorised Util Timing Randomish
69   hs-source-dirs: examples/smoke/sharing/Rank lib
70   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
71
72
73 Executable dph-smoke-reverse
74   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
75   Main-is:        Main.hs
76   other-modules:  Vectorised Vector Randomish
77   hs-source-dirs: examples/smoke/sharing/Reverse lib
78   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
79
80
81 -- Imaginary ------------------------------------------------------------------
82 -- Executable dph-imaginary-primes
83 --   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
84 --   Main-is:        Main.hs
85 --   other-modules:  Vectorised
86 --   hs-source-dirs: examples/imaginary/Primes lib
87 --   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
88
89 Executable dph-imaginary-words
90   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
91   Main-is:        Main.hs
92   other-modules:  Vectorised
93   hs-source-dirs: examples/imaginary/Words lib
94   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
95
96
97 -- Spectral -------------------------------------------------------------------
98 Executable dph-spectral-dotp
99   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
100   Main-is:        Main.hs
101   other-modules:  Vector
102                   Vectorised
103                   Timing Randomish
104   hs-source-dirs: examples/spectral/DotProduct/dph lib
105   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
106
107
108 Executable dph-spectral-smvm
109   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
110   Main-is:        Main.hs
111   other-modules:  Vectorised
112                   Vector
113                   Timing
114   hs-source-dirs: examples/spectral/SMVM/dph lib
115   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
116
117
118 Executable dph-spectral-quickhull
119   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
120   Main-is:        Main.hs
121   other-modules:  Vectorised
122                   Timing Points2D.Types SVG
123   hs-source-dirs: examples/spectral/QuickHull/dph examples/spectral/QuickHull/lib lib
124   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
125
126
127 Executable dph-spectral-quickhull-vector
128   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
129   Main-is:        Main.hs
130   other-modules:  QuickHullIO
131                   QuickHullSplit
132                   QuickHullVector
133                   Timing Points2D.Types SVG
134   hs-source-dirs: examples/spectral/QuickHull/vector examples/spectral/QuickHull/lib lib
135   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
136
137
138 Executable dph-spectral-quicksort
139   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
140   Main-is:        Main.hs
141   other-modules:  Vectorised
142                   Timing
143   hs-source-dirs: examples/spectral/QuickSort/dph lib
144   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
145
146
147 -- Real -----------------------------------------------------------------------
148 --Executable dph-real-nbody-gloss
149 --    Main-is:        MainGloss.hs
150 --    other-modules:  Common.Dump Common.World Common.Body Common.Util 
151 --                     Solver Solver.ListBH.Solver
152 --                            Solver.NestedBH.Solver
153 --                            Solver.VectorBH.Solver
154 --                            Solver.VectorNaive.Solver
155 --                     Timing Points2D.Types Points2D.Generate
156 --                     System.Console.ParseArgs
157 --                     Gloss.MainArgs Gloss.Draw Gloss.Config
158 --    Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*, gloss == 1.6.*
159 --    hs-source-dirs: examples/real/NBody examples/real/NBody/Gloss lib
160 --    ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
161
162 Executable dph-real-nbody
163     Main-is:        MainBatch.hs
164     other-modules:  Common.Dump Common.World Common.Body Common.Util 
165                     Solver Solver.ListBH.Solver
166                            Solver.NestedBH.Solver
167                            Solver.VectorBH.Solver
168                            Solver.VectorNaive.Solver
169                     Timing Points2D.Types Points2D.Generate
170                     Batch.MainArgs Batch.Config
171     Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.8.*, dph-prim-par == 0.8.*, dph-lifted-vseg == 0.8.*, HUnit == 1.2.*
172     hs-source-dirs: examples/real/NBody examples/real/NBody/Batch lib
173     ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000
174