---
id: pr-tilelang-1827
repo: tile-ai/tilelang
pr: 1827
title: '[Refactor] Introduce `T.access_of` to combine `T.address_of` and `access_ptr`'
author: LeiWang1999
date: '2026-02-11'
url: https://github.com/tile-ai/tilelang/pull/1827
source_category: upstream-code
architectures:
- sm100
tags:
- fused-op
techniques:
- kernel-fusion
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 4ff81c7d40803d269569e157e847623e84553f78
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/bitnet-1.58b/kernel_benchmark/tilelang_bitnet_158_int8xint2_decode.py
- examples/bitnet-1.58b/kernel_benchmark/tilelang_bitnet_158_int8xint2_prefill.py
- examples/dequantize_gemm/example_dequant_gemm_bf16_fp4_hopper.py
- examples/dequantize_gemm/example_dequant_gemm_bf16_mxfp4_hopper.py
- examples/dequantize_gemm/example_dequant_gemm_fine_grained.py
- examples/dequantize_gemm/example_dequant_gemv_fp16xint4.py
- examples/dequantize_gemm/example_dequant_groupedgemm_bf16_mxfp4_hopper.py
- src/op/atomic_add.cc
- src/op/atomic_reduce.cc
- src/op/builtin.cc
- src/op/builtin.h
- src/op/operator.cc
- src/tl_templates/cuda/atomic.h
- src/transform/loop_vectorize.cc
- src/transform/lower_access_ptr.cc
- src/transform/lower_tile_op.cc
- src/transform/vectorize_loop.cc
- testing/python/issue/test_tilelang_issue_1257.py
- testing/python/language/test_tilelang_language_access_ptr.py
- testing/python/language/test_tilelang_language_access_ptr_codegen.py
- testing/python/language/test_tilelang_language_atomic.py
- testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py
- tilelang/cache/kernel_cache.py
- tilelang/engine/phase.py
- tilelang/intrinsics/mma_macro_generator.py
- tilelang/intrinsics/mma_sp_macro_generator.py
- tilelang/language/atomic.py
- tilelang/language/builtin.py
- tilelang/language/customize.py
- tilelang/language/logical.py
- tilelang/transform/__init__.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1827
head_ref_oid: 894d9c21b140d9906ba2d2976d30bcda463d1f4e
---
# [Refactor] Introduce `T.access_of` to combine `T.address_of` and `access_ptr`

- Repository: `tile-ai/tilelang`
- PR: [1827](https://github.com/tile-ai/tilelang/pull/1827)
- 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/bitnet-1.58b/kernel_benchmark/tilelang_bitnet_158_int8xint2_decode.py`
- `examples/bitnet-1.58b/kernel_benchmark/tilelang_bitnet_158_int8xint2_prefill.py`
- `examples/dequantize_gemm/example_dequant_gemm_bf16_fp4_hopper.py`
- `examples/dequantize_gemm/example_dequant_gemm_bf16_mxfp4_hopper.py`
- `examples/dequantize_gemm/example_dequant_gemm_fine_grained.py`
- `examples/dequantize_gemm/example_dequant_gemv_fp16xint4.py`
- `examples/dequantize_gemm/example_dequant_groupedgemm_bf16_mxfp4_hopper.py`
- `src/op/atomic_add.cc`
- `src/op/atomic_reduce.cc`
- `src/op/builtin.cc`
- `src/op/builtin.h`
- `src/op/operator.cc`
- `src/tl_templates/cuda/atomic.h`
- `src/transform/loop_vectorize.cc`
- `src/transform/lower_access_ptr.cc`
- `src/transform/lower_tile_op.cc`
- `src/transform/vectorize_loop.cc`
- `testing/python/issue/test_tilelang_issue_1257.py`
- `testing/python/language/test_tilelang_language_access_ptr.py`
- `testing/python/language/test_tilelang_language_access_ptr_codegen.py`
- `testing/python/language/test_tilelang_language_atomic.py`
- `testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py`
- `tilelang/cache/kernel_cache.py`
- `tilelang/engine/phase.py`
- `tilelang/intrinsics/mma_macro_generator.py`
- `tilelang/intrinsics/mma_sp_macro_generator.py`
- `tilelang/language/atomic.py`
- `tilelang/language/builtin.py`
- `tilelang/language/customize.py`
- `tilelang/language/logical.py`
- `tilelang/transform/__init__.py`

## Evidence Bundle

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