-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Structure Support to NestedSDFGs and Python Frontend #1366
Conversation
…of the name is a Structure. Do not make Structure-related pointers const. When emitting memlet references, recursivly visit Structures and their members.
…tion. Commented out writing-one-index corner case (triggers obsolete ArrayViews).
…itor method now handles nested data. Slicing states replace dots with underscores in their name. Changed Memlet API used. Subscript visitor method extracts the true name for nested data and uses NestedDict for parsing memlet expressions.
…s. Use the root of the data name to infer storage from parent.
…ls and signatures.
@alexnick83 there are two consistently failing tests in this PR (GPU). |
I don't see something in the PR that should directly cause these issues, but maybe the changes assisted in bringing to light pre-existing bugs. Specifically, the The |
Adds basic support for nested data (Structures) to the Python frontend. It also resolves issues with the use of Structures in nested SDFG scopes (mostly code generation).
NOTE: This PR handles only CPU code generation and fixes issues with libraries and transformations discovered during testing. It doesn't handle GPU/FPGA code generation, which will be studied in subsequent PRs.