Skip to content

Fix stale thread-layout comment in wgmma_sm90 tutorial#3363

Open
aryanputta wants to merge 1 commit into
NVIDIA:mainfrom
aryanputta:fix-wgmma-tutorial-thread-layout-comment
Open

Fix stale thread-layout comment in wgmma_sm90 tutorial#3363
aryanputta wants to merge 1 commit into
NVIDIA:mainfrom
aryanputta:fix-wgmma-tutorial-thread-layout-comment

Conversation

@aryanputta

Copy link
Copy Markdown

Summary

In examples/cute/tutorial/hopper/wgmma_sm90.cu, the gemm_nt tiled-copy comments for copyA/copyB read Thr layout 32x4, but the thread layout is Layout<Shape<_16,_8>>, i.e. 16x8.

The k-major copies a few lines below already label the same Shape<_16,_8> as 16x8, so this corrects the m-major/n-major comments to match the code and the surrounding convention.

- Layout<Shape<_16,_8>>{}, // Thr layout 32x4 m-major
+ Layout<Shape<_16,_8>>{}, // Thr layout 16x8 m-major
- Layout<Shape<_16,_8>>{}, // Thr layout 32x4 n-major
+ Layout<Shape<_16,_8>>{}, // Thr layout 16x8 n-major

Comment-only change; no functional impact.

Fixes #3340

The copyA/copyB tiled-copy comments in gemm_nt read "Thr layout 32x4",
but the thread layout is Layout<Shape<_16,_8>>, i.e. 16x8. The matching
k-major copies a few lines below already label the same Shape<_16,_8>
as "16x8", so correct the m-major/n-major comments to match.

Fixes NVIDIA#3340

Signed-off-by: Aryan <aryansputta@gmail.com>
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.

Stale comment in examples/cute/tutorial/hopper/wgmma_sm90.cu

1 participant