---
id: pr-tilelang-1513
repo: tile-ai/tilelang
pr: 1513
title: '[CuTeDSL][Fix] thread safety + context safety'
author: lucifer1004
date: '2025-12-24'
url: https://github.com/tile-ai/tilelang/pull/1513
source_category: upstream-code
architectures:
- sm100
tags:
- cute
- cutlass
- tile-dsl
techniques: []
hardware_features: []
kernel_types: []
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 41603f849d8af762371d851658b1b9dda3f6ddf0
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- tilelang/jit/adapter/cutedsl/adapter.py
- tilelang/jit/adapter/cutedsl/wrapper.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1513
head_ref_oid: d0b93918b9da76e9bbb3220e310518af456bb800
---
# [CuTeDSL][Fix] thread safety + context safety

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

- `tilelang/jit/adapter/cutedsl/adapter.py`
- `tilelang/jit/adapter/cutedsl/wrapper.py`

## Evidence Bundle

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