---
id: pr-tilelang-1995
repo: tile-ai/tilelang
pr: 1995
title: '[BugFix] Fix missing barrier init attrs when TMA is disabled'
author: Rachmanino
date: '2026-03-31'
url: https://github.com/tile-ai/tilelang/pull/1995
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- attention kernel
- sm100
techniques:
- async-copy
hardware_features:
- blackwell
- tma
kernel_types:
- attention
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 6a859f19411602ca8931774fce77b7eea3b5dc89
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/flash_attention_sm100/gqa_bwd_bshd.py
- examples/flash_attention_sm100/gqa_fwd_bshd.py
- examples/flash_attention_sm100/mha_bwd_bshd.py
- examples/flash_attention_sm100/mha_fwd_bshd.py
- src/transform/lower_shared_tmem.cc
artifact_dir: evidence/pull-bundles/tilelang/gh-1995
head_ref_oid: bd2b7d294987845052c1a7370f7b847ce0fb3c90
---
# [BugFix] Fix missing barrier init attrs when TMA is disabled

- Repository: `tile-ai/tilelang`
- PR: [1995](https://github.com/tile-ai/tilelang/pull/1995)
- 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/flash_attention_sm100/gqa_bwd_bshd.py`
- `examples/flash_attention_sm100/gqa_fwd_bshd.py`
- `examples/flash_attention_sm100/mha_bwd_bshd.py`
- `examples/flash_attention_sm100/mha_fwd_bshd.py`
- `src/transform/lower_shared_tmem.cc`

## Evidence Bundle

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