ba17d77f0df58eaf9ebf7be99d3ea8cf7a232bc7
[packages/dph.git] / dph-examples / dph-examples.template
1 Name:                dph-examples
2 Version:             0.6.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
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 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                   Timing
111   hs-source-dirs: examples/spectral/SMVM/dph lib
112   ghc-options:    DPH_OPTIONS
113
114
115 Executable dph-spectral-quickhull
116   Build-depends:  DPH_DEPENDS
117   Main-is:        Main.hs
118   other-modules:  Vectorised
119                   Timing Points2D.Types SVG
120   hs-source-dirs: examples/spectral/QuickHull/dph examples/spectral/QuickHull/lib lib
121   ghc-options:    DPH_OPTIONS
122
123
124 Executable dph-spectral-quickhull-vector
125   Build-depends:  DPH_DEPENDS
126   Main-is:        Main.hs
127   other-modules:  QuickHullIO
128                   QuickHullSplit
129                   QuickHullVector
130                   Timing Points2D.Types SVG
131   hs-source-dirs: examples/spectral/QuickHull/vector examples/spectral/QuickHull/lib lib
132   ghc-options:    DPH_OPTIONS
133
134
135 Executable dph-spectral-quicksort
136   Build-depends:  DPH_DEPENDS
137   Main-is:        Main.hs
138   other-modules:  Vectorised
139                   Timing
140   hs-source-dirs: examples/spectral/QuickSort/dph lib
141   ghc-options:    DPH_OPTIONS
142
143
144 -- Real -----------------------------------------------------------------------
145 --Executable dph-real-nbody-gloss
146 --    Main-is:        MainGloss.hs
147 --    other-modules:  Common.Dump Common.World Common.Body Common.Util 
148 --                     Solver Solver.ListBH.Solver
149 --                            Solver.NestedBH.Solver
150 --                            Solver.VectorBH.Solver
151 --                            Solver.VectorNaive.Solver
152 --                     Timing Points2D.Types Points2D.Generate
153 --                     System.Console.ParseArgs
154 --                     Gloss.MainArgs Gloss.Draw Gloss.Config
155 --    Build-depends:  DPH_DEPENDS, gloss == 1.6.*
156 --    hs-source-dirs: examples/real/NBody examples/real/NBody/Gloss lib
157 --    ghc-options:    DPH_OPTIONS
158
159 Executable dph-real-nbody
160     Main-is:        MainBatch.hs
161     other-modules:  Common.Dump Common.World Common.Body Common.Util 
162                     Solver Solver.ListBH.Solver
163                            Solver.NestedBH.Solver
164                            Solver.VectorBH.Solver
165                            Solver.VectorNaive.Solver
166                     Timing Points2D.Types Points2D.Generate
167                     Batch.MainArgs Batch.Config
168     Build-depends:  DPH_DEPENDS
169     hs-source-dirs: examples/real/NBody examples/real/NBody/Batch lib
170     ghc-options:    DPH_OPTIONS
171