---
id: pr-tilelang-2092
repo: tile-ai/tilelang
pr: 2092
title: '[BugFix] Relax loop wait and adjust trailing drain behavior in async pipeline tests'
author: Rachmanino
date: '2026-04-23'
url: https://github.com/tile-ai/tilelang/pull/2092
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- fp4
- fp8
- gemm
- hopper
- mla
- mxfp4
techniques:
- pipeline-stages
hardware_features:
- fp4
- fp8
- hopper
- mxfp4
kernel_types:
- gemm
- mla
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 0f29f9c98672e2f615e86af482b5a9b0e34913a2
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- src/transform/inject_pipeline.cc
- testing/python/transform/test_tilelang_transform_Inject_software_pipeline.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2092
head_ref_oid: b4e008d414f954031802cc2e0c013c15ff04652c
---
# [BugFix] Relax loop wait and adjust trailing drain behavior in async pipeline tests

- Repository: `tile-ai/tilelang`
- PR: [2092](https://github.com/tile-ai/tilelang/pull/2092)
- 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/transform/inject_pipeline.cc`
- `testing/python/transform/test_tilelang_transform_Inject_software_pipeline.py`

## Evidence Bundle

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