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: Fix subview hack in stencil conversion #2843

Merged
merged 3 commits into from
Jul 5, 2024

Conversation

PapyChacal
Copy link
Collaborator

Directly allocate buffers with the expected layout instead.

Reminder: This is a shallow layout, simply used to offset indices used in accesses, not modifying any physical layout. This avoids the need to propagate more information to stencil.access, which can simply access the lowered memref using its own coordinate system.

@PapyChacal PapyChacal added the transformations Changes or adds a transformatio label Jul 5, 2024
@PapyChacal PapyChacal requested a review from superlopuh July 5, 2024 10:21
@PapyChacal PapyChacal self-assigned this Jul 5, 2024
Copy link

codecov bot commented Jul 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.88%. Comparing base (82f8c8c) to head (9ebdb6b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2843   +/-   ##
=======================================
  Coverage   89.88%   89.88%           
=======================================
  Files         398      398           
  Lines       49607    49609    +2     
  Branches     7621     7623    +2     
=======================================
+ Hits        44590    44592    +2     
  Misses       3823     3823           
  Partials     1194     1194           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PapyChacal PapyChacal marked this pull request as ready for review July 5, 2024 11:39
@AntonLydike
Copy link
Collaborator

I faintly remember this being relevant in the DMP to MPI lowering or something. Do you know how this interacts with that?

@PapyChacal PapyChacal merged commit 1f7b306 into main Jul 5, 2024
10 checks passed
@PapyChacal PapyChacal deleted the emilien/stencil-maps branch July 5, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transformations Changes or adds a transformatio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants