---
id: pr-tilelang-1670
repo: tile-ai/tilelang
pr: 1670
title: 'Refactor: Use centralized do_bench from tilelang.profiler'
author: LeiWang1999
date: '2026-01-17'
url: https://github.com/tile-ai/tilelang/pull/1670
source_category: upstream-code
architectures:
- sm100
tags:
- triton kernel
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 651f885ed7e597227c95a03f81ac60d2d380afdf
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/flash_decoding/example_gqa_decode_varlen_logits.py
- examples/gdn/example_chunk_delta_bwd.py
- examples/gdn/example_chunk_delta_h.py
- examples/gdn/example_chunk_o_bwd.py
- examples/gemm_sp/example_custom_compress.py
- examples/gemm_sp/example_gemm_sp.py
- tilelang/profiler/__init__.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1670
head_ref_oid: 6cc3254dac84dd9be72d014305f07e8c5f42a25c
---
# Refactor: Use centralized do_bench from tilelang.profiler

- Repository: `tile-ai/tilelang`
- PR: [1670](https://github.com/tile-ai/tilelang/pull/1670)
- 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_decoding/example_gqa_decode_varlen_logits.py`
- `examples/gdn/example_chunk_delta_bwd.py`
- `examples/gdn/example_chunk_delta_h.py`
- `examples/gdn/example_chunk_o_bwd.py`
- `examples/gemm_sp/example_custom_compress.py`
- `examples/gemm_sp/example_gemm_sp.py`
- `tilelang/profiler/__init__.py`

## Evidence Bundle

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