---
id: pr-tilelang-1970
repo: tile-ai/tilelang
pr: 1970
title: '[Feature] Introduce T.CUDASourceCodeKernel'
author: SiriusNEO
date: '2026-04-17'
url: https://github.com/tile-ai/tilelang/pull/1970
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark kernel
- cuda kernel
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 77cbe6da87d214f27c71e456b2adc83df130858f
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- src/target/codegen_c_host.cc
- src/target/codegen_cuda.cc
- src/target/rt_mod_cuda.cc
- src/transform/common/attr.h
- src/transform/lower_device_kernel_launch.cc
- src/transform/lower_opaque_block.cc
- src/transform/make_packed_api.cc
- src/transform/split_host_device.cc
- testing/python/language/test_tilelang_language_source_kernel.py
- tilelang/engine/lower.py
- tilelang/language/__init__.py
- tilelang/language/kernel.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1970
head_ref_oid: c02e16a5317cacce271d4a730e54af730fc3f2b8
---
# [Feature] Introduce T.CUDASourceCodeKernel

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

- `src/target/codegen_c_host.cc`
- `src/target/codegen_cuda.cc`
- `src/target/rt_mod_cuda.cc`
- `src/transform/common/attr.h`
- `src/transform/lower_device_kernel_launch.cc`
- `src/transform/lower_opaque_block.cc`
- `src/transform/make_packed_api.cc`
- `src/transform/split_host_device.cc`
- `testing/python/language/test_tilelang_language_source_kernel.py`
- `tilelang/engine/lower.py`
- `tilelang/language/__init__.py`
- `tilelang/language/kernel.py`

## Evidence Bundle

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