---
id: pr-tilelang-1590
repo: tile-ai/tilelang
pr: 1590
title: '[Refactor] Use access_ptr instead of buffer and offsets for cp async params'
author: LeiWang1999
date: '2026-01-03'
url: https://github.com/tile-ai/tilelang/pull/1590
source_category: upstream-code
architectures:
- sm100
tags:
- cute
techniques: []
hardware_features: []
kernel_types: []
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 6fd0bd31fe9f2e23d02f87f05b048398043dbb64
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/flash_attention/example_gqa_bwd_tma_reduce.py
- examples/flash_attention/example_gqa_bwd_tma_reduce_varlen.py
- examples/warp_specialize/example_warp_specialize_gemm_barrierpipe_stage2.py
- src/op/builtin.cc
- src/op/builtin.h
- src/target/codegen_cuda.cc
- src/target/ptx.cc
- src/target/ptx.h
- src/transform/inject_ptx_async_copy.cc
- src/transform/merge_shared_memory_allocations.cc
- testing/python/tilelibrary/test_tilelang_tilelibrary_gemm_sp_v2.py
- testing/python/transform/test_tilelang_transform_inject_fence_proxy.py
- tilelang/language/tir/op.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1590
head_ref_oid: 36236aec0aaaa670571c64a09e5edcc3ddf3dc50
---
# [Refactor] Use access_ptr instead of buffer and offsets for cp async params

- Repository: `tile-ai/tilelang`
- PR: [1590](https://github.com/tile-ai/tilelang/pull/1590)
- 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/example_gqa_bwd_tma_reduce.py`
- `examples/flash_attention/example_gqa_bwd_tma_reduce_varlen.py`
- `examples/warp_specialize/example_warp_specialize_gemm_barrierpipe_stage2.py`
- `src/op/builtin.cc`
- `src/op/builtin.h`
- `src/target/codegen_cuda.cc`
- `src/target/ptx.cc`
- `src/target/ptx.h`
- `src/transform/inject_ptx_async_copy.cc`
- `src/transform/merge_shared_memory_allocations.cc`
- `testing/python/tilelibrary/test_tilelang_tilelibrary_gemm_sp_v2.py`
- `testing/python/transform/test_tilelang_transform_inject_fence_proxy.py`
- `tilelang/language/tir/op.py`

## Evidence Bundle

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