---
id: pr-tilelang-1692
repo: tile-ai/tilelang
pr: 1692
title: '[Chore] Use python-side control flow keywords in examples for consistency'
author: Rachmanino
date: '2026-01-19'
url: https://github.com/tile-ai/tilelang/pull/1692
source_category: upstream-code
architectures:
- sm100
tags:
- tile-dsl
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: c871813e6ac7533e3661447999bfaf6848b0c431
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/amd/example_amd_flash_attn_bwd.py
- examples/amd/example_amd_flash_attn_fwd.py
- examples/deepseek_v32/topk_selector.py
- examples/gdn/example_chunk_o.py
- examples/gdn/example_chunk_scaled_dot_kkt.py
- examples/gdn/example_wy_fast_bwd_split.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1692
head_ref_oid: 55b4d46600f8559e9e36c1c920892cfced467c3e
---
# [Chore] Use python-side control flow keywords in examples for consistency

- Repository: `tile-ai/tilelang`
- PR: [1692](https://github.com/tile-ai/tilelang/pull/1692)
- 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/amd/example_amd_flash_attn_bwd.py`
- `examples/amd/example_amd_flash_attn_fwd.py`
- `examples/deepseek_v32/topk_selector.py`
- `examples/gdn/example_chunk_o.py`
- `examples/gdn/example_chunk_scaled_dot_kkt.py`
- `examples/gdn/example_wy_fast_bwd_split.py`

## Evidence Bundle

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