Skip to content

[LLVMGPU] Set thread tile sizes to 1 when reshapes are present - #20455

Merged
Max191 merged 2 commits into
iree-org:mainfrom
Max191-agents:more-conservative-thread-tile-sizes
Apr 3, 2025
Merged

Max191 merged 2 commits into
iree-org:mainfrom
Max191-agents:more-conservative-thread-tile-sizes

Conversation

@Max191

@Max191 Max191 commented Apr 3, 2025

Copy link
Copy Markdown
Contributor

Conservatively set thread tile sizes to 1 in the TileAndFuse pipeline when there are reshapes present in the dispatch. There are still some cases where the reshapes may not be fused into the thread loop when thread tile sizes are non unit, so we just always set sizes to 1 until we are able to better handle such cases.

@Max191
Max191 force-pushed the more-conservative-thread-tile-sizes branch from 95881ed to 97dc7f4 Compare April 3, 2025 16:56
Signed-off-by: Max Dawkins <[email protected]>
@Max191
Max191 merged commit dbf31b7 into iree-org:main Apr 3, 2025
@Max191
Max191 deleted the more-conservative-thread-tile-sizes branch April 3, 2025 18:05
bangtianliu pushed a commit to bangtianliu/iree that referenced this pull request Apr 8, 2025
…org#20455)

Conservatively set thread tile sizes to 1 in the TileAndFuse pipeline
when there are reshapes present in the dispatch. There are still some
cases where the reshapes may not be fused into the thread loop when
thread tile sizes are non unit, so we just always set sizes to 1 until
we are able to better handle such cases.

---------

Signed-off-by: Max Dawkins <[email protected]>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
Conservatively set thread tile sizes to 1 in the TileAndFuse pipeline
when there are reshapes present in the dispatch. There are still some
cases where the reshapes may not be fused into the thread loop when
thread tile sizes are non unit, so we just always set sizes to 1 until
we are able to better handle such cases.

---------

Signed-off-by: Max Dawkins <[email protected]>
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