Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Do various kernel optimisations - mostly related to coalescing.
Documentation
class (Layout rep, PrimExpAnalysis rep) => Transform rep Source #
onOp, transformOp
Instances
Transform GPU Source # | |
Defined in Futhark.Optimise.ArrayLayout.Transform onOp :: Monad m => SOACMapper GPU GPU m -> Op GPU -> m (Op GPU) transformOp :: LayoutTable -> ExpMap GPU -> Stm GPU -> Op GPU -> TransformM GPU (LayoutTable, ExpMap GPU) | |
Transform MC Source # | |
Defined in Futhark.Optimise.ArrayLayout.Transform onOp :: Monad m => SOACMapper MC MC m -> Op MC -> m (Op MC) transformOp :: LayoutTable -> ExpMap MC -> Stm MC -> Op MC -> TransformM MC (LayoutTable, ExpMap MC) |
transformStms :: (Transform rep, BuilderOps rep) => LayoutTable -> ExpMap rep -> Stms rep -> TransformM rep (Stms rep) Source #