---
id: pr-tilelang-1579
repo: tile-ai/tilelang
pr: 1579
title: '[Layout] Support annotating loop layout in frontend'
author: LeiWang1999
date: '2026-01-04'
url: https://github.com/tile-ai/tilelang/pull/1579
source_category: upstream-code
architectures:
- sm100
tags:
- fused-op
techniques:
- kernel-fusion
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 5685c56a45c8162d862055dbb224de0c44f82c39
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- docs/programming_guides/control_flow.md
- docs/programming_guides/instructions.md
- src/ir.cc
- src/op/atomic_add.cc
- src/op/copy.cc
- src/op/copy.h
- src/op/parallel.cc
- src/op/parallel.h
- src/transform/common/loop_fusion_utils.h
- src/transform/layout_inference.cc
- src/transform/loop_partition.cc
- src/transform/lower_tile_op.cc
- src/transform/parallel_loop_layout_validator.h
- testing/python/layout/test_parallel_loop_layout.py
- tilelang/language/copy_op.py
- tilelang/language/loop.py
- tilelang/language/v2/builder.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1579
head_ref_oid: 80a5da47483e41b70a53345fe04700260a6f3a04
---
# [Layout] Support annotating loop layout in frontend

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

- `docs/programming_guides/control_flow.md`
- `docs/programming_guides/instructions.md`
- `src/ir.cc`
- `src/op/atomic_add.cc`
- `src/op/copy.cc`
- `src/op/copy.h`
- `src/op/parallel.cc`
- `src/op/parallel.h`
- `src/transform/common/loop_fusion_utils.h`
- `src/transform/layout_inference.cc`
- `src/transform/loop_partition.cc`
- `src/transform/lower_tile_op.cc`
- `src/transform/parallel_loop_layout_validator.h`
- `testing/python/layout/test_parallel_loop_layout.py`
- `tilelang/language/copy_op.py`
- `tilelang/language/loop.py`
- `tilelang/language/v2/builder.py`

## Evidence Bundle

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