Language.Paraiso.OM.Graph
Description
all the components for constructing Orthotope Machine data flow draph.
- data (Vector vector, C gauge) => Setup vector gauge = Setup {
- staticValues :: [Named DynValue]
- data (Vector vector, C gauge) => Kernel vector gauge a = Kernel {
- kernelName :: Name
- dataflow :: Graph vector gauge a
- type Graph vector gauge a = Gr (Node vector gauge a) Edge
- nmap :: (Vector v, C g) => (a -> b) -> Graph v g a -> Graph v g b
- getA :: Node v g a -> a
- data Annotation
- data Node vector gauge a
- data Edge
- data Inst vector gauge
- module Language.Paraiso.Name
Documentation
data (Vector vector, C gauge) => Setup vector gauge Source
An OM Setup, a set of information needed before you start building a Kernel.
It's basically a list of static orthotopes
(its identifier, Realm and Type carried in the form of NamedValue)
Constructors
| Setup | |
Fields
| |
data (Vector vector, C gauge) => Kernel vector gauge a Source
A Kernel for OM does a bunch of calculations on OM.
Constructors
| Kernel | |
Fields
| |
type Graph vector gauge a = Gr (Node vector gauge a) EdgeSource
The dataflow graph for Orthotope Machine. a is an additional annotation.
data Annotation Source
you can insert Annotations to control the code generation processes.
Instances
data Node vector gauge a Source
The Node for the dataflow Graph of the Orthotope machine.
The dataflow graph is a 2-part graph consisting of NValue and NInst nodes.
Constructors
| NValue DynValue a | A value node. An |
| NInst (Inst vector gauge) a | An instruction node. An |
module Language.Paraiso.Name