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: (snitch_stream) make snitch_stream parameters go outwards-in #2294

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

superlopuh
Copy link
Member

Makes things a little less weird for most of the high-level representations, and only treat the ubs and strides as innnermost-out inside the lowering from snitch_stream to snitch.

@superlopuh superlopuh added the dialects Changes on the dialects label Mar 4, 2024
@superlopuh superlopuh self-assigned this Mar 4, 2024
@@ -106,11 +106,9 @@ def match_and_rewrite(
for map, shape in zip(op.indexing_maps, shapes, strict=True)
)
bounds = tuple(bound.data for bound in op.bounds)
# snitch_stream stride patterns are from innermost out
# TODO: make consistent
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.53%. Comparing base (5f99770) to head (fb69677).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2294   +/-   ##
=======================================
  Coverage   89.53%   89.53%           
=======================================
  Files         329      329           
  Lines       39423    39423           
  Branches     5898     5898           
=======================================
  Hits        35298    35298           
  Misses       3266     3266           
  Partials      859      859           

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

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.

Yes, I think this is a good direction to move in!

@superlopuh superlopuh merged commit f011cf8 into main Mar 7, 2024
9 checks passed
@superlopuh superlopuh deleted the sasha/snitch_stream/outside-in branch March 7, 2024 17:28
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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants