dph-prim-par: Export DT Ordering instance
authorBen Lippmeier <benl@ouroborus.net>
Mon, 23 Jul 2012 06:18:09 +0000 (16:18 +1000)
committerBen Lippmeier <benl@ouroborus.net>
Mon, 30 Jul 2012 03:48:35 +0000 (13:48 +1000)
dph-prim-par/Data/Array/Parallel/Unlifted.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Distributed.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Distributed/Primitive/Operators.hs
dph-prim-par/dph-prim-par.cabal

index 8bb3257..02972a8 100644 (file)
 --   @dph-prim-par@ and @dph-prim-seq@ packages.
 --
 #include "DPH_Header.h"
-import Data.Array.Parallel.Unlifted.Parallel
 import Data.Array.Parallel.Base.TracePrim
+import Data.Array.Parallel.Unlifted.Parallel
 import Data.Array.Parallel.Unlifted.Distributed ( DT )
-
 import Data.Array.Parallel.Unlifted.Sequential.Vector           (Unbox,   Vector)
 import Data.Array.Parallel.Unlifted.Vectors                     (Unboxes, Vectors)
 import Data.Array.Parallel.Unlifted.Parallel.UPSel
index 95fb762..e8b7aa9 100644 (file)
@@ -58,6 +58,7 @@ where
 import Data.Array.Parallel.Unlifted.Distributed.Combinators
 import Data.Array.Parallel.Unlifted.Distributed.Data.Bool
 import Data.Array.Parallel.Unlifted.Distributed.Data.Scalar
+import Data.Array.Parallel.Unlifted.Distributed.Data.Ordering   ()
 import Data.Array.Parallel.Unlifted.Distributed.Arrays
 import Data.Array.Parallel.Unlifted.Distributed.Basics
 import Data.Array.Parallel.Unlifted.Distributed.Primitive
index 9dc629f..e07b803 100644 (file)
@@ -2,8 +2,7 @@
 -- Primitive Gang Operators are fundamental computations that run on the gang.
 --   At runtime we can record how long each one runs using GHC events.
 --   As Gang Operators are not inlined, fusion between them is done via GHC rewrite rules.
-
--- TODO: rename these to generateG etc, to highlight the fusion level.
+--
 {-# OPTIONS -Wall -fno-warn-orphans -fno-warn-missing-signatures #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE CPP #-}
index 71e2259..7b17455 100644 (file)
@@ -25,6 +25,7 @@ Library
         Data.Array.Parallel.Unlifted.Distributed.Data.Bool
         Data.Array.Parallel.Unlifted.Distributed.Data.Maybe
         Data.Array.Parallel.Unlifted.Distributed.Data.Ordering
+        Data.Array.Parallel.Unlifted.Distributed.Data.Scalar.Base
         Data.Array.Parallel.Unlifted.Distributed.Data.Scalar
         Data.Array.Parallel.Unlifted.Distributed.Data.Tuple
         Data.Array.Parallel.Unlifted.Distributed.Data.Unit