mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[GH-ISSUE #180] Question about the sf layout #105
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#105
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 @ispobock on GitHub (Aug 29, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/180
This function is checking if the sf layout is MN-major:
github.com/deepseek-ai/DeepGEMM@ea9c5d9270/csrc/utils/layout.hpp (L81)It asserts
stride(-2)==1, that means MN is the contiguous axis. IIRC, the contiguous axis is the minor axis, not the major axis (which changes the slowest).github.com/deepseek-ai/DeepGEMM@ea9c5d9270/csrc/utils/layout.hpp (L85)cc: @RayWang96 @LyricZhao
@RayWang96 commented on GitHub (Sep 1, 2025):
We adopted the terminology in CUTLASS 3.0. For details, please see the doc at:
https://docs.nvidia.com/cutlass/media/docs/cpp/cutlass_3x_backwards_compatibility.html
@ispobock commented on GitHub (Sep 1, 2025):
Thanks for the clarification! That makes sense to me.