---
id: pr-tilelang-1866
repo: tile-ai/tilelang
pr: 1866
title: '[CUDA] Support tcgen5mma gemm ts'
author: Hale423
date: '2026-02-28'
url: https://github.com/tile-ai/tilelang/pull/1866
source_category: upstream-code
architectures:
- sm100
tags:
- arch_pipeline
- attention
- blackwell
- copy lowering
- gemm_quant
- tcgen
techniques:
- fine-grained-quantization
- pipeline-stages
hardware_features:
- blackwell
- tcgen05
- tmem
kernel_types:
- attention
- gemm
- runtime
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: eb2755750baa32826911835e678c6f9f39c96ee6
inclusion_reason: 'Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.'
changed_paths:
- src/layout/tcgen05_layout.cc
- src/layout/tcgen05_layout.h
- src/op/copy.cc
- src/op/gemm_py.cc
- src/tl_templates/cuda/copy_sm100.h
- src/tl_templates/cuda/tcgen_05_st.h
- testing/python/kernel/test_tilelang_kernel_bf16_gemm_tcgen5_ts.py
- tilelang/intrinsics/tcgen05_macro_generator.py
- tilelang/tileop/gemm/gemm_base.py
- tilelang/tileop/gemm/gemm_tcgen05.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1866
head_ref_oid: ba0095d2a712ceeef119b6881da838927a1f4193
---
# [CUDA] Support tcgen5mma gemm ts

- Repository: `tile-ai/tilelang`
- PR: [1866](https://github.com/tile-ai/tilelang/pull/1866)
- Decision: `Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.`
- Reason: Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.

## Changed Paths

- `src/layout/tcgen05_layout.cc`
- `src/layout/tcgen05_layout.h`
- `src/op/copy.cc`
- `src/op/gemm_py.cc`
- `src/tl_templates/cuda/copy_sm100.h`
- `src/tl_templates/cuda/tcgen_05_st.h`
- `testing/python/kernel/test_tilelang_kernel_bf16_gemm_tcgen5_ts.py`
- `tilelang/intrinsics/tcgen05_macro_generator.py`
- `tilelang/tileop/gemm/gemm_base.py`
- `tilelang/tileop/gemm/gemm_tcgen05.py`

## Evidence Bundle

`evidence/pull-bundles/tilelang/gh-1866`
