---
id: pr-tilelang-2087
repo: tile-ai/tilelang
pr: 2087
title: '[Bugfix] Enable `.shared::cta` in TMA copy paths only on CUDA 12.8+'
author: ColmaLiu
date: '2026-04-22'
url: https://github.com/tile-ai/tilelang/pull/2087
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- TMA
- arch_pipeline
- blackwell
- hopper
- memory_primitives
techniques:
- async-copy
- pipeline-stages
hardware_features:
- blackwell
- hopper
- tma
kernel_types:
- memory
- runtime
languages:
- cuda-cpp
- ptx
captured_at: '2026-05-16'
status: merged
merge_sha: 9aba41f026ddb7c0e03903c5a5924f8af0db6ab7
inclusion_reason: 'Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.'
changed_paths:
- src/target/ptx.cc
- src/tl_templates/cuda/copy_sm90.h
artifact_dir: evidence/pull-bundles/tilelang/gh-2087
head_ref_oid: 72804c9eb8a9abc43eb42868def1a1ceccf468e4
---
# [Bugfix] Enable `.shared::cta` in TMA copy paths only on CUDA 12.8+

- Repository: `tile-ai/tilelang`
- PR: [2087](https://github.com/tile-ai/tilelang/pull/2087)
- 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/target/ptx.cc`
- `src/tl_templates/cuda/copy_sm90.h`

## Evidence Bundle

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