Make combine2 work with selectors
[packages/dph.git] / dph-prim-interface / interface / DPH_Header.h
1 {-# LANGUAGE MagicHash #-}
2 #include "fusion-phases.h"
3
4 module Data.Array.Parallel.Unlifted (
5 (:*:)(..), Elt, Array, Sel2, Segd,
6
7 length,
8 empty, replicate, repeat, (+:+), interleave,
9 (!:), extract, drop, permute, mbpermute, bpermute, bpermuteDft, update,
10 pack, combine, combine2,
11 enumFromTo, enumFromThenTo, enumFromStepLen, enumFromStepLenEach,
12 indexed,
13 zip, zip3, unzip, unzip3, fsts, snds,
14 map, zipWith, zipWith3,
15 filter,
16
17 fold, fold1, and, sum, scan,
18
19 replicate_s, replicate_rs, append_s,
20
21 fold_s, fold1_s, fold_r, sum_s, indices_s, sum_r,
22 lengthSegd, lengthsSegd, indicesSegd, elementsSegd, lengthsToSegd,
23 mkSegd, plusSegd,
24
25 mkSel2, tagsSel2, indicesSel2, elementsSel2_0, elementsSel2_1,
26 tagsToSel2, tagsToIndices2,
27 packByTag, pick, count, count_s,
28
29 randoms, randomRs, IOElt, hGet, hPut,
30
31 toList, fromList,
32 ) where
33
34 import Data.Array.Parallel.Base ( (:*:)(..), fstS, sndS )
35 import Prelude (Num, Int, Bool, Double)
36 import System.IO (IO, Handle)
37 import Data.Word (Word8)
38 import qualified System.Random
39 import qualified Prelude
40