---
id: pr-tilelang-1979
repo: tile-ai/tilelang
pr: 1979
title: '[Feature] Introduce annotation for `minBlocksPerMultiprocessor` in `__launch_bounds__`'
author: Rachmanino
date: '2026-03-26'
url: https://github.com/tile-ai/tilelang/pull/1979
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark_test
- compiler_runtime
- recent-kernel-path
techniques: []
hardware_features: []
kernel_types:
- compiler
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 88049820fef1e833d2ba20f60cb3215d735ae85e
inclusion_reason: Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.
changed_paths:
- src/op/builtin.h
- src/target/codegen_cuda.cc
- testing/python/language/test_tilelang_language_min_blocks_per_sm.py
- tilelang/language/__init__.py
- tilelang/language/annotations.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1979
head_ref_oid: 7f6772e82b050e091db42410fa4db5ce067afaa2
---
# [Feature] Introduce annotation for `minBlocksPerMultiprocessor` in `__launch_bounds__`

- Repository: `tile-ai/tilelang`
- PR: [1979](https://github.com/tile-ai/tilelang/pull/1979)
- Decision: `Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.`
- Reason: Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.

## Changed Paths

- `src/op/builtin.h`
- `src/target/codegen_cuda.cc`
- `testing/python/language/test_tilelang_language_min_blocks_per_sm.py`
- `tilelang/language/__init__.py`
- `tilelang/language/annotations.py`

## Evidence Bundle

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