Skip to content

[Mosaic GPU] Implement canonicalization for TiledLayouts. #29512

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

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

Conversation

copybara-service[bot]
Copy link

[Mosaic GPU] Implement canonicalization for TiledLayouts.

Layout canonicalization gets rid of unnecessary tiles and dimensions in
Tilings---such that (1) any tiling operation partitions at least one
dimension into more than 1 tile, and (2) any tiling operation does not
introduce intermediate dimensions of size 1.

Canonicalization allows simplifying the definition of a few of our predefined
layouts---WGMMA, WGMMA_ROW, TCGEN05, TCGEN05_ROW, and TCGEN05_COL.

Layout canonicalization gets rid of unnecessary tiles and dimensions in
`Tiling`s---such that (1) any tiling operation partitions at least one
dimension into more than `1` tile, and (2) any tiling operation does not
introduce intermediate dimensions of size `1`.

Canonicalization allows simplifying the definition of a few of our predefined
layouts---`WGMMA`, `WGMMA_ROW`, `TCGEN05`, `TCGEN05_ROW`, and `TCGEN05_COL`.

PiperOrigin-RevId: 772394274
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