Safe Haskell | None |
---|---|
Language | Haskell2010 |
Definitions for multicore operations.
Most of the interesting stuff is in Futhark.IR.SegOp, which is also re-exported from here.
Synopsis
- data MCOp lore op
- typeCheckMCOp :: Checkable lore => (op -> TypeM lore ()) -> MCOp (Aliases lore) op -> TypeM lore ()
- simplifyMCOp :: (SimplifiableLore lore, BodyDec lore ~ ()) => SimplifyOp lore op -> MCOp lore op -> SimpleM lore (MCOp (Wise lore) (OpWithWisdom op), Stms (Wise lore))
- module Futhark.IR.SegOp
Documentation
An operation for the multicore representation. Feel free to extend this on an ad hoc basis as needed. Parameterised with some other operation.
ParOp (Maybe (SegOp () lore)) (SegOp () lore) | The first |
OtherOp op | Something else (in practice often a SOAC). |
Instances
typeCheckMCOp :: Checkable lore => (op -> TypeM lore ()) -> MCOp (Aliases lore) op -> TypeM lore () Source #
simplifyMCOp :: (SimplifiableLore lore, BodyDec lore ~ ()) => SimplifyOp lore op -> MCOp lore op -> SimpleM lore (MCOp (Wise lore) (OpWithWisdom op), Stms (Wise lore)) Source #
module Futhark.IR.SegOp