Experimental feature: Schedule tree representation#2262
Open
Experimental feature: Schedule tree representation#2262
Conversation
… undefined variables
Backport of PR spcl#1917. Co-authored-by: Roman Cattaneo <1116746+romanc@users.noreply.github.com>
This can be configured now. So users should configure it, if they want to avoid inspecting the stack.
1c8957d to
fc6bfa2
Compare
to be investigated later
Remove the partially implemented `DoWhileScope` because we don't use it, so no need to specialize the `LoopScope`.
This reverts commit f23ecea.
Those two classes are only used for stree -> sdfg conversion and thus don't belong in `treenodes.py`.
Collaborator
|
cscs-ci run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Schedule trees are an alternative representation of code in DaCe. It is a tree of nodes that represent the execution order of the SDFG. The tree can be used to perform schedule transformations on the SDFG, i.e., erasing an empty
ifbranch, or merging two consecutivefor-loops.A first version of the schedule tree representation was merged with PR #1145, which adds support for creating schedule trees from SDFGs. This PR builds on #1466 and brings a first version of the transformation from schedule tree to SDFG.