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

[Codegen] Add expand slice swap pattern to TileAndDistributeToWorkgroups #20123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Max191
Copy link
Contributor

@Max191 Max191 commented Feb 27, 2025

Adds cleanup patterns to run during tileConsumerAndFuseProducersUsingSCF in TileandDistributeToWorkgroupsUsingForall. The PR adds the SwapExtractWithExpandPattern, and some extra cleanup patterns for slices.

This enables codegen for set_encoding ops on GPU, since the materialization of set_encoding contains an expand_shape that will block distribution tiling of the full dispatch.

@Max191 Max191 requested a review from hanhanW as a code owner February 27, 2025 19:56
@Max191 Max191 requested a review from qedawkins February 27, 2025 19:57
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.

1 participant