repa- High performance, regular, shape polymorphic parallel arrays.

Safe HaskellSafe-Infered




data I r1 Source

Hints that computing this array will be an unbalanced workload and evaluation should be interleaved between the processors.


Repr r1 a => Repr (I r1) a 
(Shape sh, Fill D r2 sh e) => Fill (I D) r2 sh e 
Read (Array r1 sh e) => Read (Array (I r1) sh e) 
Show (Array r1 sh e) => Show (Array (I r1) sh e) 

data family Array r sh e Source

Arrays with a representation tag, shape, and element type. Use one of the type tags like D, U and so on for r, one of DIM1, DIM2 ... for sh.

hintInterleave :: Array r1 sh e -> Array (I r1) sh eSource

Wrap an array with a unbalanced-ness hint.