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

transformations: Use subviews and memcopy in stencil distribution pass. #1159

Merged
merged 4 commits into from Jun 20, 2023

Conversation

PapyChacal
Copy link
Collaborator

@PapyChacal PapyChacal commented Jun 19, 2023

Stacked on #1158
The initial lowering is generating full-blown loop-nests to copy the data to temporary buffers, and is restricted to 2D for sanity.
Using the meanwhile implemented subview constructor and memcopy op, make it relatively trivial, generic, and probably more efficient 🤔 Last point left as an exercise..

Oh, right: also checked for correctness on a 4x4 grid decomposition! The results seemed exactly the same to the bit.

@PapyChacal PapyChacal added the transformations Changes or adds a transformatio label Jun 19, 2023
@PapyChacal PapyChacal self-assigned this Jun 19, 2023
@PapyChacal PapyChacal added the minor For minor PRs, easy and quick to review, quickly mergeable label Jun 19, 2023
@codecov
Copy link

codecov bot commented Jun 19, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.10 🎉

Comparison is base (eaeefde) 88.45% compared to head (025a5e5) 88.55%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1159      +/-   ##
==========================================
+ Coverage   88.45%   88.55%   +0.10%     
==========================================
  Files         156      156              
  Lines       22000    21974      -26     
  Branches     3301     3302       +1     
==========================================
- Hits        19460    19459       -1     
+ Misses       2009     1984      -25     
  Partials      531      531              
Impacted Files Coverage Δ
...sforms/experimental/dmp/stencil_global_to_local.py 25.96% <0.00%> (+2.02%) ⬆️

☔ 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.

🚀

Base automatically changed from emilien/subview-rank-reduce to main June 20, 2023 09:38
@PapyChacal PapyChacal merged commit 7e3478c into main Jun 20, 2023
12 checks passed
@PapyChacal PapyChacal deleted the emilien/dmp-subview branch June 20, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor For minor PRs, easy and quick to review, quickly mergeable transformations Changes or adds a transformatio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants