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