---
id: pr-tilelang-2004
repo: tile-ai/tilelang
pr: 2004
title: 'fix: fix copy+cast vectorize loop to use wider vector load/store instrcution'
author: Achazwl
date: '2026-03-31'
url: https://github.com/tile-ai/tilelang/pull/2004
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- fp8
- mxfp4
- schedule
- sm100
- sm90
techniques:
- vectorized-loads
hardware_features:
- blackwell
- fp4
- fp8
- hopper
- mxfp4
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: a82fa719b8000fe629e6d59dca97139f8a880524
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/gemm/test_example_gemm.py
- src/transform/loop_vectorize.cc
- testing/python/transform/test_tilelang_transform_decouple_type_cast.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2004
head_ref_oid: d56e3ee0e445b06eaf6c9a879e9a99187de2b43b
---
# fix: fix copy+cast vectorize loop to use wider vector load/store instrcution

- Repository: `tile-ai/tilelang`
- PR: [2004](https://github.com/tile-ai/tilelang/pull/2004)
- 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/test_example_gemm.py`
- `src/transform/loop_vectorize.cc`
- `testing/python/transform/test_tilelang_transform_decouple_type_cast.py`

## Evidence Bundle

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