Peano
Loading...
Searching...
No Matches
peano4.api.taskgraph.compiler.fuse Namespace Reference

-steps-illustrations More...

Detailed Description

-steps-illustrations

Generate the illustrations of peano4.api.taskgraph.compiler.FuseSteps

Run from the repository root via

PYTHONPATH=src python3 src/peano4/api/taskgraph/compiler/fuse-steps-illustrations.py

The script builds a few small task graphs, compiles them with peano4.api.taskgraph.compiler.FuseSteps.translate(), and writes one PNG per example next to this script: the input task graph (as drawn by peano4.api.taskgraph.Graph.visualise()) on the left, the compiled sequence of mesh traversals (as drawn by peano4.api.taskgraph.compiler.ReportCompiledStepSequence) on the right. The PNGs are referenced from the documentation of FuseSteps.translate().