Safe Haskell | None |
---|---|
Language | GHC2021 |
Futhark.IR.Mem.IxFun.Alg
Description
A simple index operation representation. Every operation corresponds to a constructor.
Documentation
Constructors
Direct (Shape num) | |
Permute (IxFun num) Permutation | |
Index (IxFun num) (Slice num) | |
FlatIndex (IxFun num) (FlatSlice num) | |
Reshape (IxFun num) (Shape num) | |
Coerce (IxFun num) (Shape num) | |
OffsetIndex (IxFun num) num | |
Expand num num (IxFun num) |
offsetIndex :: IxFun num -> num -> IxFun num Source #
shape :: IntegralExp num => IxFun num -> Shape num Source #