---
id: pr-tilelang-2017
repo: tile-ai/tilelang
pr: 2017
title: '[codex] Fuse packed x2 mul-add into fma2 in CUDA codegen'
author: LeiWang1999
date: '2026-04-07'
url: https://github.com/tile-ai/tilelang/pull/2017
source_category: upstream-code
architectures:
- sm100
tags:
- cuda kernel
- sm100
techniques: []
hardware_features:
- blackwell
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: cabdb86f25c78ff554217ea3ef6f55e5b389c77d
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- src/target/codegen_cuda.cc
- testing/python/cuda/test_cuda_f32x2_intrinsics.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2017
head_ref_oid: b645b3b3870a95e299f4662bf4984b1736ffc42e
---
# [codex] Fuse packed x2 mul-add into fma2 in CUDA codegen

- Repository: `tile-ai/tilelang`
- PR: [2017](https://github.com/tile-ai/tilelang/pull/2017)
- 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

- `src/target/codegen_cuda.cc`
- `testing/python/cuda/test_cuda_f32x2_intrinsics.py`

## Evidence Bundle

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