---
id: pr-tilelang-1971
repo: tile-ai/tilelang
pr: 1971
title: Introduce T.deallocate_tmem and T.transpose
author: LeiWang1999
date: '2026-03-30'
url: https://github.com/tile-ai/tilelang/pull/1971
source_category: upstream-code
architectures:
- sm100
tags:
- schedule
techniques: []
hardware_features:
- tmem
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 1ede0bd748d3467464d16691b3d300fd6b88f76d
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- docs/programming_guides/instructions.md
- examples/gemm/example_gemm_schedule.py
- src/op/builtin.cc
- src/op/builtin.h
- src/op/transpose.cc
- src/op/transpose.h
- src/transform/lower_shared_tmem.cc
- src/transform/multi_version_buffer_rewriter.cc
- src/transform/plan_update_buffer_allocation_location.cc
- testing/python/language/test_tilelang_language_transpose.py
- testing/python/transform/test_tilelang_transform_lower_shared_barrier.py
- testing/python/transform/test_tilelang_transform_lower_shared_tmem.py
- tilelang/language/__init__.py
- tilelang/language/allocate.py
- tilelang/language/builtin.py
- tilelang/language/copy_op.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1971
head_ref_oid: f3bd3b13b391e2f40c2f40f5e76f653fda3ba8e9
---
# Introduce T.deallocate_tmem and T.transpose

- Repository: `tile-ai/tilelang`
- PR: [1971](https://github.com/tile-ai/tilelang/pull/1971)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `docs/programming_guides/instructions.md`
- `examples/gemm/example_gemm_schedule.py`
- `src/op/builtin.cc`
- `src/op/builtin.h`
- `src/op/transpose.cc`
- `src/op/transpose.h`
- `src/transform/lower_shared_tmem.cc`
- `src/transform/multi_version_buffer_rewriter.cc`
- `src/transform/plan_update_buffer_allocation_location.cc`
- `testing/python/language/test_tilelang_language_transpose.py`
- `testing/python/transform/test_tilelang_transform_lower_shared_barrier.py`
- `testing/python/transform/test_tilelang_transform_lower_shared_tmem.py`
- `tilelang/language/__init__.py`
- `tilelang/language/allocate.py`
- `tilelang/language/builtin.py`
- `tilelang/language/copy_op.py`

## Evidence Bundle

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