---
id: pr-tilelang-1940
repo: tile-ai/tilelang
pr: 1940
title: '[Feature] Support alloc global workspace'
author: SiriusNEO
date: '2026-03-23'
url: https://github.com/tile-ai/tilelang/pull/1940
source_category: upstream-code
architectures:
- sm90
tags:
- sm90
techniques: []
hardware_features:
- hopper
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: d0090b428eea09848a727ef8fb78822fe8fde040
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- src/ir.cc
- src/transform/common/attr.h
- src/transform/hoist_global_buffer_allocations.cc
- src/transform/inject_assumes.cc
- src/transform/plan_update_buffer_allocation_location.cc
- testing/python/language/test_tilelang_language_alloc.py
- tilelang/engine/phase.py
- tilelang/language/__init__.py
- tilelang/language/allocate.py
- tilelang/transform/__init__.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1940
head_ref_oid: 35c353ac85c931bd5317c3c9f99b3033f4f63289
---
# [Feature] Support alloc global workspace

- Repository: `tile-ai/tilelang`
- PR: [1940](https://github.com/tile-ai/tilelang/pull/1940)
- 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/ir.cc`
- `src/transform/common/attr.h`
- `src/transform/hoist_global_buffer_allocations.cc`
- `src/transform/inject_assumes.cc`
- `src/transform/plan_update_buffer_allocation_location.cc`
- `testing/python/language/test_tilelang_language_alloc.py`
- `tilelang/engine/phase.py`
- `tilelang/language/__init__.py`
- `tilelang/language/allocate.py`
- `tilelang/transform/__init__.py`

## Evidence Bundle

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