NVIDIA / NVIDIA/cutlass

[QST] How does local_tile work? Could you provide an detailed explanation?

Open
#1,243 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CuTe inactive-30d inactive-90d question
Dominant language
C++
Stars
10.5k
Forks
2.1k
Avg merge
3d 11h
Merged PRs (30d)
7

Description

auto gA = local_tile(mA, blk_shape, blk_coord, Step<_1, X,_1>{}); // (BLK_M,BLK_K,k)

I am learning this line in example code: https://github.com/NVIDIA/cutlass/blob/main/examples/cute/tutorial/sgemm_nt_1.cu

How we get this? By the way, I print it out, size is not BLK_M, BLK_K, k, but is BLK_M, BLK_K, K/BLK_K

Why??

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the local_tile call in examples/cute/tutorial/sgemm_nt_1.cu and read the surrounding tutorial explanation. Compare the documented shape comment with the reported printed shape, then clarify how the final dimension is determined and update the relevant explanation so the expected result is unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.