---
id: pr-tilelang-1774
repo: tile-ai/tilelang
pr: 1774
title: '[Example][BugFix] 1SM GEMM example on Blackwell and fix handling of `mbar`'
author: Rachmanino
date: '2026-02-12'
url: https://github.com/tile-ai/tilelang/pull/1774
source_category: upstream-code
architectures:
- sm100
tags:
- blackwell
- sm100
techniques: []
hardware_features:
- blackwell
kernel_types:
- gemm
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 1f16d9a5dd7340d51292da6714c7c9f4fd9ba2dc
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/gemm_sm100/gemm_tcgen5mma_ws.py
- examples/gemm_sm100/gemm_tcgen5mma_ws_persistent.py
- src/op/gemm.cc
- src/op/gemm.h
- src/op/gemm_py.cc
- src/op/gemm_py.h
- src/op/utils.cc
- src/op/utils.h
- tilelang/language/builtin.py
- tilelang/language/gemm_op.py
- tilelang/tileop/gemm/gemm_base.py
- tilelang/tileop/gemm/gemm_tcgen05.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1774
head_ref_oid: 492774969e4fc43c45fbb5be36edbe5e268f1c7e
---
# [Example][BugFix] 1SM GEMM example on Blackwell and fix handling of `mbar`

- Repository: `tile-ai/tilelang`
- PR: [1774](https://github.com/tile-ai/tilelang/pull/1774)
- 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/gemm_sm100/gemm_tcgen5mma_ws.py`
- `examples/gemm_sm100/gemm_tcgen5mma_ws_persistent.py`
- `src/op/gemm.cc`
- `src/op/gemm.h`
- `src/op/gemm_py.cc`
- `src/op/gemm_py.h`
- `src/op/utils.cc`
- `src/op/utils.h`
- `tilelang/language/builtin.py`
- `tilelang/language/gemm_op.py`
- `tilelang/tileop/gemm/gemm_base.py`
- `tilelang/tileop/gemm/gemm_tcgen05.py`

## Evidence Bundle

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