-
Notifications
You must be signed in to change notification settings - Fork 266
refactor: unify interwave and intrawave pipeline implementation #3552
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
base: develop
Are you sure you want to change the base?
Changes from all commits
b06f6f5
09aa536
958c99e
2240aa5
0f2c913
7c78c99
d45b830
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -569,9 +569,9 @@ struct GemmPipelineAgBgCrCompV3 : public BaseGemmPipelineAgBgCrCompV3<Problem> | |||
| load_tile_with_elementwise(b_copy_dram_window, b_element_func); | ||||
| move_tile_window(b_copy_dram_window, b_dram_tile_window_step); | ||||
|
|
||||
| block_gemm(c_block_tile, a_lds_gemm_window, b_lds_gemm_window); | ||||
|
|
||||
| block_sync_lds(); | ||||
| block_gemm.template operator()<false>( | ||||
| c_block_tile, a_lds_gemm_window, b_lds_gemm_window); | ||||
| // block_sync_lds(); | ||||
|
||||
| // block_sync_lds(); |
Copilot
AI
Jan 13, 2026
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.
Consider removing the commented-out block_sync_lds() calls rather than leaving them in the code. If these are no longer needed due to the refactoring (where synchronization is now handled within the BlockGemm operator), they should be removed to avoid confusion. If they might be needed for debugging or future reference, add a comment explaining why they are commented out.
| // block_sync_lds(); |
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.
The comment states that LocalPrefetch is required for Interwave scheduler design, but the code still allows it to be disabled via DoLocalPrefetch=false. Consider either enforcing this requirement with a static_assert or updating the comment to clarify what happens if DoLocalPrefetch is false for Interwave.