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

Safe HaskellSafe-Infered

Data.Array.Repa.Repr.Hint

Synopsis

Documentation

data S r1 Source

Hints that evaluating this array is only a small amount of work. It will be evaluated sequentially in the main thread, instead of in parallel on the gang. This avoids the associated scheduling overhead.

Instances

Repr r1 a => Repr (S r1) a 
(Shape sh, FillRange r1 r2 sh e) => FillRange (S r1) r2 sh e 
(Shape sh, Fill r1 r2 sh e) => Fill (S r1) r2 sh e 
Combine r1 a r2 b => Combine (S r1) a (S r2) b 
Read (Array r1 sh e) => Read (Array (S r1) sh e) 
Show (Array r1 sh e) => Show (Array (S 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.

hintSmall :: Array r1 sh e -> Array (S r1) sh eSource

Wrap an array with a smallness hint.