[QST][CUTE] How to systematically and easily compose the cute layout algebra operations to get custom layout

Open
#2,241 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
documentation

Research direction

Start by reading the layout-algebra documentation and the example in tools/util/include/cutlass/util/mixed_dtype_utils.hpp around the referenced line. Determine whether an existing tutorial addresses systematic composition; done would be a clear tutorial explaining how to compose CUTE layout operations for custom layouts.

Written by the indexing model from the issue text.

Description

? - Needs Triage inactive-30d inactive-90d question

What is your question?
Hi,

I am very interested in how to write any custom layout I want using cute like https://github.com/NVIDIA/cutlass/blob/main/tools/util/include/cutlass/util/mixed_dtype_utils.hpp#L362 show, but its very difficult for me to use the layout algebras to compose get any custom layout. That is, I am able to recognize the every operation of layout algebra based on the doc, but I am not able to systematically and easily compose the algebra operations to get any layout I want.

So I wanna consult is there any tutorials about my question? Thanks

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

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.

More from NVIDIA/cutlass

All issues in NVIDIA/cutlass

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.