Replays recorded transformations on an SDFG.
More...
#include <sdfg/transformations/replayer.h>
Replays recorded transformations on an SDFG.
The Replayer class takes transformation descriptions (typically from a Recorder) and applies them to an SDFG. This enables:
- Reapplication of successful transformation sequences
- Testing transformation sequences on different inputs
- Automated optimization pipelines
◆ apply()
template<typename T>
requires transformation_concept<T>
Apply a single transformation from JSON description.
- Template Parameters
-
- Parameters
-
| builder | The SDFG builder |
| analysis_manager | The analysis manager |
| desc | JSON transformation description |
| skip_if_not_applicable | If true, skip if transformation cannot be applied |
- Exceptions
-
◆ replay()
Replay a sequence of transformations from JSON.
- Parameters
-
| builder | The SDFG builder |
| analysis_manager | The analysis manager |
| desc | JSON array or single transformation description |
| skip_if_not_applicable | If true, skip transformations that cannot be applied |
| loopnest_index | Starting index for loop nests |
- Exceptions
-
The documentation for this class was generated from the following file: