-
Notifications
You must be signed in to change notification settings - Fork 233
[Layout] Introduce Flexible Parallel to Support T.serial and local buffers inside T.Parallel loop #844
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
Merged
LeiWang1999
merged 13 commits into
tile-ai:main
from
LeiWang1999:flexible_parallel_0918
Sep 26, 2025
Merged
[Layout] Introduce Flexible Parallel to Support T.serial and local buffers inside T.Parallel loop #844
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5e76a22
Support T.serial and local buffers inside T.Parallel loop.
50e9d3c
Fix reducer layout in T.Parallel nested inside other loops
6e54530
Debug output with LOG(INFO)
4552b00
Add disable option for WGMMA.
a12ba41
fix
LeiWang1999 d16f083
Use DLOG; fix missing registration for new pass config
51c6006
bug fix
LeiWang1999 5f079ae
lint fix
LeiWang1999 41c903d
Enhance GEMM instruction set with UTCMMA and improve local buffer han…
LeiWang1999 475b2ba
Update format.sh shebang, improve logging in layout inference, and en…
LeiWang1999 c3e4492
Merge branch 'main' of https://github.com/tile-ai/tilelang into flexi…
LeiWang1999 db2fcbb
Merge branch 'main' of https://github.com/tile-ai/tilelang into flexi…
LeiWang1999 83c31d8
Enhance GEMM instantiation logic and improve layout inference for loc…
LeiWang1999 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cover every thread-local storage scope when detecting register-only loops.
local_register_only
currently flips tofalse
for anything except scope"local"
, but we also emit"local.var"
and"local.fragment"
for per-thread allocations (seeIsLocalBuffer
insrc/transform/legalize_safe_memory_access.cc
). Loops that only touch those buffers will still be treated as needing thread partitioning, so the regression this PR is trying to fix persists for those cases. Please treat all thread-local scopes as register-only before skipping partition.You can address it along these lines:
Based on learnings
📝 Committable suggestion
🤖 Prompt for AI Agents