---
id: pr-tilelang-2055
repo: tile-ai/tilelang
pr: 2055
title: '[BugFix] Keep shared-prelude local vars in producer-consumer WS'
author: Rachmanino
date: '2026-04-17'
url: https://github.com/tile-ai/tilelang/pull/2055
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- fp4
- fp8
- gemm
- hopper
- mla
- mxfp4
techniques: []
hardware_features:
- fp4
- fp8
- hopper
- mxfp4
kernel_types:
- gemm
- mla
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 9c5fe44c7ab2b556f99aae324d74048235dd17bc
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/grouped_gemm/test_example_grouped_gemm.py
- src/transform/producer_consumer_ws.cc
- testing/python/transform/test_tilelang_transform_producer_consumer_ws.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2055
head_ref_oid: 79a758e3ab75591dddc9884cae9961c80e7bca63
---
# [BugFix] Keep shared-prelude local vars in producer-consumer WS

- Repository: `tile-ai/tilelang`
- PR: [2055](https://github.com/tile-ai/tilelang/pull/2055)
- 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/grouped_gemm/test_example_grouped_gemm.py`
- `src/transform/producer_consumer_ws.cc`
- `testing/python/transform/test_tilelang_transform_producer_consumer_ws.py`

## Evidence Bundle

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