Name: dph-examples Version: 0.7.0.1 License: BSD3 License-file: LICENSE Author: The DPH Team Maintainer: Ben Lippmeier Build-Type: Simple Cabal-Version: >=1.8 Stability: experimental Category: Data Structures Homepage: http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell Description: Data Parallel Haskell example programs. Synopsis: Data Parallel Haskell example programs. -- Smoke ---------------------------------------------------------------------- -- examples/smoke/data Executable dph-smoke-bool Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised hs-source-dirs: examples/smoke/data/Bool ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 -- examples/smoke/prims Executable dph-smoke-concat build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* main-is: Main.hs other-modules: Vectorised hs-source-dirs: examples/smoke/prims/Concat ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-smoke-sumsq Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vector Vectorised Timing Randomish hs-source-dirs: examples/smoke/prims/SumSquares/dph lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-smoke-evens Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vector Vectorised Timing Randomish hs-source-dirs: examples/smoke/prims/Evens/dph lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 -- examples/smoke/sharing Executable dph-smoke-indices Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised hs-source-dirs: examples/smoke/sharing/Indices lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-smoke-rank Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised Util Timing Randomish hs-source-dirs: examples/smoke/sharing/Rank lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-smoke-reverse Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised Randomish hs-source-dirs: examples/smoke/sharing/Reverse lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 -- Imaginary ------------------------------------------------------------------ -- Executable dph-imaginary-primes -- Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* -- Main-is: Main.hs -- other-modules: Vectorised -- hs-source-dirs: examples/imaginary/Primes lib -- ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-imaginary-words Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised hs-source-dirs: examples/imaginary/Words lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 -- Spectral ------------------------------------------------------------------- Executable dph-spectral-dotp Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vector Vectorised Timing Randomish hs-source-dirs: examples/spectral/DotProduct/dph lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-spectral-smvm Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised Timing hs-source-dirs: examples/spectral/SMVM/dph lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-spectral-quickhull Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised Timing Points2D.Types SVG hs-source-dirs: examples/spectral/QuickHull/dph examples/spectral/QuickHull/lib lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-spectral-quickhull-vector Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: QuickHullIO QuickHullSplit QuickHullVector Timing Points2D.Types SVG hs-source-dirs: examples/spectral/QuickHull/vector examples/spectral/QuickHull/lib lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-spectral-quicksort Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* Main-is: Main.hs other-modules: Vectorised Timing hs-source-dirs: examples/spectral/QuickSort/dph lib ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 -- Real ----------------------------------------------------------------------- -- Executable dph-real-nbody-gloss -- Main-is: MainGloss.hs -- other-modules: Common.Dump Common.World Common.Body Common.Util -- Solver Solver.ListBH.Solver -- Solver.NestedBH.Solver -- Solver.VectorBH.Solver -- Solver.VectorNaive.Solver -- Timing Points2D.Types Points2D.Generate -- System.Console.ParseArgs -- Gloss.MainArgs Gloss.Draw Gloss.Config -- Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.*, gloss == 1.6.* -- hs-source-dirs: examples/real/NBody examples/real/NBody/Gloss lib -- ghc-options: -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000 Executable dph-real-nbody Main-is: MainBatch.hs other-modules: Common.Dump Common.World Common.Body Common.Util Solver Solver.ListBH.Solver Solver.NestedBH.Solver Solver.VectorBH.Solver Solver.VectorNaive.Solver Timing Points2D.Types Points2D.Generate Batch.MainArgs Batch.Config Build-depends: base == 4.6.*, vector == 0.10.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.7.*, dph-prim-par == 0.7.*, dph-lifted-vseg == 0.7.*, HUnit == 1.2.* hs-source-dirs: examples/real/NBody examples/real/NBody/Batch lib ghc-options: -eventlog -rtsopts -threaded -fllvm -O0 -package dph-lifted-vseg -fcpr-off -fsimpl-tick-factor=1000