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

[LinalgExt] Drop the unit dims on scatter ops 2/3 #19450

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

IanWood1
Copy link
Contributor

@IanWood1 IanWood1 commented Dec 11, 2024

This change adds patterns to drop the unit dims of a iree_linalg_ext.scatter's %updates tensor. It only drops the leading unit dimensions from the portion of updates that represents the indexed dimensions.

NOTE: Ignore the first commit. It has a separate PR #19560. See the main issue #19091

@IanWood1 IanWood1 changed the title [LinalgExt] Drop the unit dims on scatter ops. [LinalgExt] Drop the unit dims on scatter ops Dec 11, 2024
@IanWood1 IanWood1 force-pushed the drop_unit_scatter branch 2 times, most recently from ce0ec3a to cff1fb1 Compare December 11, 2024 17:59
@IanWood1 IanWood1 changed the title [LinalgExt] Drop the unit dims on scatter ops [LinalgExt] Drop the unit dims on scatter ops 2/3 Dec 27, 2024
@IanWood1 IanWood1 marked this pull request as ready for review January 2, 2025 18:27
Copy link
Contributor

@MaheshRavishankar MaheshRavishankar left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

@IanWood1 IanWood1 merged commit 340ffbb into iree-org:main Jan 6, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants