Remove SUArr
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 22 Apr 2009 02:37:43 +0000 (02:37 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 22 Apr 2009 02:37:43 +0000 (02:37 +0000)
commitc4acd24e744420b95b9a49c686511092719af222
treed311f49b1f9bd29fa312784087209b7c42584cf7
parentf58869ab56d811aadab3cbccfa76c9388d944714
Remove SUArr

This is a very big patch which removes all traces (hopefully) of the SUArr
data type. The new convention is to pass segment descriptors and data arrays
separately. A lot of segmented operations have been deleted since they don't
make sense any more. Some operations (such as packCU/packCUP) do make sense
but should be implemented in terms of the abstract backend interface, much
like repeat_c is now.

At the moment, fusion for segmented operations is rather limited which is not
a big change from before. Also, the lifted library must be reorganised a
little to take full advantage of the new backend interface. Some examples have
not been adapted to the new interface yet.
40 files changed:
dph-base/Data/Array/Parallel/Stream/Segmented.hs
dph-prim-interface/Data/Array/Parallel/Unlifted.hs
dph-prim-interface/interface/DPH_Header.h
dph-prim-interface/interface/DPH_Interface.h
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/Arrays.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Distributed/Combinators.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Distributed/Types.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Parallel.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Parallel/Basics.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Parallel/Combinators.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Parallel/Segmented.hs
dph-prim-par/Data/Array/Parallel/Unlifted/Parallel/Subarrays.hs
dph-prim-seq/Data/Array/Parallel/Unlifted.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Flat.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Flat/Basics.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/Basics.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/Combinators.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/Permute.hs [deleted file]
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/SUArr.hs [deleted file]
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/Subarrays.hs [deleted file]
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/Sums.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/Text.hs
dph-prim-seq/Data/Array/Parallel/Unlifted/Sequential/Segmented/USegd.hs
dph-prim-seq/dph-prim-seq.cabal
dph/Data/Array/Parallel/Lifted/Closure.hs
dph/Data/Array/Parallel/Lifted/Combinators.hs
dph/Data/Array/Parallel/Lifted/Instances.hs
dph/Data/Array/Parallel/Lifted/PArray.hs
dph/Data/Array/Parallel/Lifted/Repr.hs
dph/Data/Array/Parallel/Lifted/Scalar.hs
dph/Data/Array/Parallel/Lifted/Unboxed.hs
dph/Data/Array/Parallel/Prelude.hs
examples/smvm/SMVMPrim.hs
examples/smvm/SMVMVect.hs
examples/smvm/prim.hs
examples/smvm/vect.hs