Skip to content
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: Add support for returning multiple results using stencil.return #648

Merged
merged 5 commits into from Apr 3, 2023

Conversation

meshtag
Copy link
Contributor

@meshtag meshtag commented Apr 3, 2023

This PR intends to add support for returning and subsequent storing of multiple results using stencil.return. More than one stencils can now be processed using stencil.apply.

@meshtag meshtag self-assigned this Apr 3, 2023
@meshtag meshtag added the dialects Changes on the dialects label Apr 3, 2023
@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Patch coverage: 91.30% and project coverage change: -0.57 ⚠️

Comparison is base (591bbc1) 88.64% compared to head (a232d11) 88.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #648      +/-   ##
==========================================
- Coverage   88.64%   88.08%   -0.57%     
==========================================
  Files         103      103              
  Lines       13900    14675     +775     
  Branches     2088     2211     +123     
==========================================
+ Hits        12322    12926     +604     
- Misses       1178     1330     +152     
- Partials      400      419      +19     
Impacted Files Coverage Δ
.../transforms/experimental/ConvertStencilToLLMLIR.py 94.68% <90.90%> (+0.83%) ⬆️
xdsl/dialects/experimental/stencil.py 79.05% <100.00%> (+1.70%) ⬆️

... and 13 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@AntonLydike AntonLydike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this, this was one of the pain points!

xdsl/transforms/experimental/ConvertStencilToLLMLIR.py Outdated Show resolved Hide resolved
@meshtag meshtag merged commit ba826ec into xdslproject:main Apr 3, 2023
14 checks passed
@meshtag meshtag deleted the stencil_return branch April 3, 2023 16:13
mesham added a commit that referenced this pull request Apr 4, 2023
PapyChacal pushed a commit that referenced this pull request Apr 17, 2023
This PR intends to update the support for multiple stencil results. The
[earlier version](#648) produced
some bugs when lowered via Psyclone, this patch should not face a
similar problem. Here's a
[link](https://xdsl.zulipchat.com/#narrow/stream/362011-xDSL/topic/stencil.20dialect/near/346783038)
to @mesham's original issue related to this.


edit @georgebisbas : Also check:
#659 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants