|
Peano
|
Compilers are simple functions. More...
Namespaces | |
| namespace | CellTaskProducerConsumer |
| namespace | DeriveLoadStoreComputeFlag |
| namespace | fuse |
| -steps-illustrations | |
| namespace | fuse-steps-illustrations |
| namespace | FuseSteps |
| namespace | PropagateUseStatements |
| namespace | ReportCompiledStepSequence |
| namespace | Sequential |
| namespace | SpawnCellTaskActionSet |
| namespace | WaitForCellTaskActionSet |
Compilers are simple functions.
which take a task graph and yield a series of peano4.api.solversteps.Step instances. The peano_project is the Peano project the steps eventually are added to. Compilers can use it to add further data to the data model (peano4.api.taskgraph.compiler.CellTaskProducerConsumer). It might be None if a compiler is used outside of a project, e.g. in unit tests.
In the Peano terminology, a
There is one notable exception compared to the plain steps in peano4.api.solversteps: Each step is also added an attribute has_to_repeat which is a copy from Task's has_to_repeat. Consult the description of peano4.api.taskgraph.Task for details on how to use this attribute to make a task repeat until a certain condition is met.