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

Safe HaskellNone
LanguageHaskell98

Data.Array.Repa.Repr.HintInterleave

Synopsis

Documentation

data I r1 Source #

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

Instances

Source r1 a => Source (I r1) a Source # 

Associated Types

data Array (I r1) sh a :: * Source #

Methods

extent :: Shape sh => Array (I r1) sh a -> sh Source #

index :: Shape sh => Array (I r1) sh a -> sh -> a Source #

unsafeIndex :: Shape sh => Array (I r1) sh a -> sh -> a Source #

linearIndex :: Shape sh => Array (I r1) sh a -> Int -> a Source #

unsafeLinearIndex :: Shape sh => Array (I r1) sh a -> Int -> a Source #

deepSeqArray :: Shape sh => Array (I r1) sh a -> b -> b Source #

(Shape sh, Load D sh e) => Load (I D) sh e Source # 

Methods

loadS :: Target r2 e => Array (I D) sh e -> MVec r2 e -> IO () Source #

loadP :: Target r2 e => Array (I D) sh e -> MVec r2 e -> IO () Source #

Structured r1 a b => Structured (I r1) a b Source # 

Associated Types

type TR (I r1) :: * Source #

Methods

smap :: Shape sh => (a -> b) -> Array (I r1) sh a -> Array (TR (I r1)) sh b Source #

szipWith :: (Shape sh, Source r c) => (c -> a -> b) -> Array r sh c -> Array (I r1) sh a -> Array (TR (I r1)) sh b Source #

Read (Array r1 sh e) => Read (Array (I r1) sh e) Source # 

Methods

readsPrec :: Int -> ReadS (Array (I r1) sh e) #

readList :: ReadS [Array (I r1) sh e] #

readPrec :: ReadPrec (Array (I r1) sh e) #

readListPrec :: ReadPrec [Array (I r1) sh e] #

Show (Array r1 sh e) => Show (Array (I r1) sh e) Source # 

Methods

showsPrec :: Int -> Array (I r1) sh e -> ShowS #

show :: Array (I r1) sh e -> String #

showList :: [Array (I r1) sh e] -> ShowS #

data Array (I r1) Source # 
data Array (I r1) = AInterleave !(Array r1 sh a)
type TR (I r1) Source # 
type TR (I r1) = I (TR r1)

hintInterleave :: Array r1 sh e -> Array (I r1) sh e Source #

Wrap an array with a unbalanced-ness hint.