---
id: pr-tilelang-2006
repo: tile-ai/tilelang
pr: 2006
title: '[Feature] Support T.annotate_compile_flags, T.annotate_pass_configs, and out_idx as PrimFunc attrs'
author: kurisu6912
date: '2026-04-02'
url: https://github.com/tile-ai/tilelang/pull/2006
source_category: upstream-code
architectures:
- sm100
tags:
- cuda kernel
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: e45ecf7dc4bcb62de96e863991a01e648e5c138c
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- testing/python/language/test_tilelang_language_func_attrs.py
- tilelang/autotuner/param.py
- tilelang/jit/__init__.py
- tilelang/language/eager/__init__.py
- tilelang/language/eager/builder.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2006
head_ref_oid: 2f5b628090d021ba3683ac7e78b0c83165ae699b
---
# [Feature] Support T.annotate_compile_flags, T.annotate_pass_configs, and out_idx as PrimFunc attrs

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

- `testing/python/language/test_tilelang_language_func_attrs.py`
- `tilelang/autotuner/param.py`
- `tilelang/jit/__init__.py`
- `tilelang/language/eager/__init__.py`
- `tilelang/language/eager/builder.py`

## Evidence Bundle

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