mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[GH-ISSUE #52] [Question] Why use one Math Warp-Group when block_m==64? #31
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ZJUGuoShuai on GitHub (Mar 10, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/52
First of all, thanks to all of you guys open-sourcing this amazing repo for showing us how to implement an optimized FP8 GEMM.
I've been reading the implementation these days for learning. And I wonder why it launches CTAs with 1 Math Warp-Group when
block_m==64while launching CTAs with 2 Math Warp-Groups otherwise?This is the code that determines how many Math Warp-Groups a CTA has, based on
block_m.Can someone give me some hints?
@LyricZhao commented on GitHub (Mar 10, 2025):
The m dim of WGMMA instruction is 64 (no m-32 instructions), see the PTX doc: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#asynchronous-warpgroup-level-matrix-shape