---
id: pr-tilelang-1991
repo: tile-ai/tilelang
pr: 1991
title: '[example] use alloc_global in split-kv decode kernel'
author: botbw
date: '2026-03-30'
url: https://github.com/tile-ai/tilelang/pull/1991
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- mla
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 6ca795aba75011b82ece3e4e64c58269f45ababa
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/deepseek_mla/example_mla_decode.py
- examples/flash_decoding/example_gqa_decode.py
- examples/flash_decoding/example_mha_inference.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1991
head_ref_oid: 6dbe1737acf30d3639a9cc3ef274b2820d8aeee0
---
# [example] use alloc_global in split-kv decode kernel

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

- `examples/deepseek_mla/example_mla_decode.py`
- `examples/flash_decoding/example_gqa_decode.py`
- `examples/flash_decoding/example_mha_inference.py`

## Evidence Bundle

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