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
dialects: extend the stencil lowerings #1028
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1028 +/- ##
==========================================
+ Coverage 86.89% 86.92% +0.03%
==========================================
Files 125 125
Lines 19339 19355 +16
Branches 2933 2940 +7
==========================================
+ Hits 16804 16825 +21
+ Misses 2033 2030 -3
+ Partials 502 500 -2
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a first look at the implementation and this looks very good!
I wish to have a deeper look as soon as I get more time.
Do you think it makes sense to split this PR in two PRs, one for implementing changes in return_target_analysis
(due to recent modification in stencil types) and another small one for adding support related to scf.for
variable propagation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 I think it's pretty good already, some minor nitpicks and docstrings would be nice tho!
I think you had a deep enough look to raise this good point 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To answer, as a best practice, it would be nice, but we're back in iteration mode, so I wouldn't bother unless you really want it, as a fellow stencil owner slightly_smiling_face
No strict requirement from my side
LGTM aside from some minor comments and a possibly trivial question ;)
6dfdc87
to
3807ab3
Compare
00e8dcf
to
4aa75ac
Compare
e363183
to
8b4c03a
Compare
This adds support for returning
stencil.field
from afunc.func
, and usingstencil.field
s asscf.for
carried variables.