---
id: pr-tilelang-1421
repo: tile-ai/tilelang
pr: 1421
title: 'feat(cutedsl): add CuTeDSL backend'
author: lucifer1004
date: '2025-12-18'
url: https://github.com/tile-ai/tilelang/pull/1421
source_category: upstream-code
architectures:
- sm100
tags:
- cute
- cutlass
- fused-op
- tile-dsl
techniques:
- kernel-fusion
hardware_features: []
kernel_types: []
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 7248a810d97ca8ceb999cc0a9e2bf58adc68f263
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- .github/workflows/ci.yml
- CMakeLists.txt
- maint/scripts/run_local_ci_test.sh
- requirements-test-cuda.txt
- src/target/codegen_cutedsl.cc
- src/target/codegen_cutedsl.h
- src/target/codegen_py.cc
- src/target/codegen_py.h
- src/target/codegen_utils.cc
- src/target/codegen_utils.h
- src/target/rt_mod_cutedsl.cc
- src/tl_templates/cuda/nvrtc_std.h
- testing/python/jit/test_tilelang_jit_cutedsl.py
- tilelang/cache/kernel_cache.py
- tilelang/contrib/cutedsl/__init__.py
- tilelang/contrib/cutedsl/cpasync.py
- tilelang/contrib/cutedsl/gemm_V1.py
- tilelang/contrib/cutedsl/ldsm.py
- tilelang/contrib/cutedsl/math.py
- tilelang/contrib/cutedsl/mbar.py
- tilelang/contrib/cutedsl/reduce.py
- tilelang/contrib/cutedsl/threadblock_swizzle.py
- tilelang/engine/lower.py
- tilelang/jit/__init__.py
- tilelang/jit/adapter/__init__.py
- tilelang/jit/adapter/cutedsl/__init__.py
- tilelang/jit/adapter/cutedsl/adapter.py
- tilelang/jit/adapter/cutedsl/checks.py
- tilelang/jit/adapter/cutedsl/libgen.py
- tilelang/jit/adapter/cutedsl/wrapper.py
- tilelang/jit/adapter/nvrtc/adapter.py
- tilelang/jit/adapter/nvrtc/wrapper.py
- tilelang/jit/adapter/utils.py
- tilelang/jit/adapter/wrapper.py
- tilelang/jit/execution_backend.py
- tilelang/jit/kernel.py
- tilelang/utils/target.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1421
head_ref_oid: 043ba959c467fd8efd7940c0915cfbe355168d29
---
# feat(cutedsl): add CuTeDSL backend

- Repository: `tile-ai/tilelang`
- PR: [1421](https://github.com/tile-ai/tilelang/pull/1421)
- 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

- `.github/workflows/ci.yml`
- `CMakeLists.txt`
- `maint/scripts/run_local_ci_test.sh`
- `requirements-test-cuda.txt`
- `src/target/codegen_cutedsl.cc`
- `src/target/codegen_cutedsl.h`
- `src/target/codegen_py.cc`
- `src/target/codegen_py.h`
- `src/target/codegen_utils.cc`
- `src/target/codegen_utils.h`
- `src/target/rt_mod_cutedsl.cc`
- `src/tl_templates/cuda/nvrtc_std.h`
- `testing/python/jit/test_tilelang_jit_cutedsl.py`
- `tilelang/cache/kernel_cache.py`
- `tilelang/contrib/cutedsl/__init__.py`
- `tilelang/contrib/cutedsl/cpasync.py`
- `tilelang/contrib/cutedsl/gemm_V1.py`
- `tilelang/contrib/cutedsl/ldsm.py`
- `tilelang/contrib/cutedsl/math.py`
- `tilelang/contrib/cutedsl/mbar.py`
- `tilelang/contrib/cutedsl/reduce.py`
- `tilelang/contrib/cutedsl/threadblock_swizzle.py`
- `tilelang/engine/lower.py`
- `tilelang/jit/__init__.py`
- `tilelang/jit/adapter/__init__.py`
- `tilelang/jit/adapter/cutedsl/__init__.py`
- `tilelang/jit/adapter/cutedsl/adapter.py`
- `tilelang/jit/adapter/cutedsl/checks.py`
- `tilelang/jit/adapter/cutedsl/libgen.py`
- `tilelang/jit/adapter/cutedsl/wrapper.py`
- `tilelang/jit/adapter/nvrtc/adapter.py`
- `tilelang/jit/adapter/nvrtc/wrapper.py`
- `tilelang/jit/adapter/utils.py`
- `tilelang/jit/adapter/wrapper.py`
- `tilelang/jit/execution_backend.py`
- `tilelang/jit/kernel.py`
- `tilelang/utils/target.py`

## Evidence Bundle

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