-
Notifications
You must be signed in to change notification settings - Fork 79
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
transformations: (stencil-tensorize-z-dim) Support loops #3118
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3118 +/- ##
==========================================
+ Coverage 89.90% 89.95% +0.04%
==========================================
Files 421 425 +4
Lines 53306 53568 +262
Branches 8263 8297 +34
==========================================
+ Hits 47927 48186 +259
- Misses 4041 4043 +2
- Partials 1338 1339 +1 ☔ View full report in Codecov by Sentry. |
Could you please add a description as to what this PR aims to achieve? |
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 don't fully understand what this change does. Is it to relax the restrictions on what can be tensorized?
The type conversion pass helps dealing with unknown ops. Notably, including scf.for. Running the type conversion pass first has the effect of the old checks "input is tensorised and output is not tensorised" no longer working. So the ExternalLoadOp conversion was not needed at all, and some other rewrite passes needed their checks (esp for output) revisited. |
Makes sense, thank you |
Add support for enclosing unknown ups such as scf.for