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: (lower-csl-stencil) Check isBorderRegionPE #3213

Closed
wants to merge 1 commit into from

Conversation

n-io
Copy link
Collaborator

@n-io n-io commented Sep 24, 2024

The csl_stencil.apply.done_exchange region is wrapped in an check to isBorderRegionPE, such that the compute and (most importantly) the store do not happen for PEs of the border region. While technically possible to wrap only the store, it may be beneficial for code optimisation to wrap all rather than wrap minimally.

@n-io n-io added the transformations Changes or adds a transformatio label Sep 24, 2024
@n-io n-io requested review from AntonLydike and dk949 September 24, 2024 11:23
@n-io n-io self-assigned this Sep 24, 2024
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.

Cool stuff! Very nice to see progress being made here! 🥳

PatternRewriteWalker(
LowerYieldOp(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can these two rewrites not be applied in one pass? 🤔

@n-io n-io closed this Sep 27, 2024
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.

2 participants