---
id: pr-tilelang-1743
repo: tile-ai/tilelang
pr: 1743
title: '[AMD] Fix ROCm FP8 dtype selection and MFMA support on gfx942/gfx950'
author: hubertlu-tw
date: '2026-01-29'
url: https://github.com/tile-ai/tilelang/pull/1743
source_category: upstream-code
architectures:
- sm100
tags:
- matmul
techniques: []
hardware_features:
- fp8
kernel_types:
- gemm
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: a55a82302bf7f3c5af635b5c9146f728185cc900
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/gemm_fp8/example_tilelang_gemm_amd.py
- examples/gemm_fp8/example_tilelang_gemm_amd_fp8_preshuffle.py
- examples/gemm_fp8/example_tilelang_gemm_fp8.py
- examples/gemm_fp8/example_tilelang_gemm_fp8_2xAcc.py
- examples/gemm_fp8/example_tilelang_gemm_fp8_intrinsic.py
- src/target/codegen_hip.cc
- src/tl_templates/hip/hip_fp8.h
- testing/python/tilelibrary/test_tilelang_tilelibrary_gemm.py
- tilelang/intrinsics/mfma_macro_generator.py
- tilelang/utils/__init__.py
- tilelang/utils/target.py
artifact_dir: evidence/pull-bundles/tilelang/gh-1743
head_ref_oid: 1f826507a57dc78e572d3661d19a4aa9869b4f5e
---
# [AMD] Fix ROCm FP8 dtype selection and MFMA support on gfx942/gfx950

- Repository: `tile-ai/tilelang`
- PR: [1743](https://github.com/tile-ai/tilelang/pull/1743)
- 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_fp8/example_tilelang_gemm_amd.py`
- `examples/gemm_fp8/example_tilelang_gemm_amd_fp8_preshuffle.py`
- `examples/gemm_fp8/example_tilelang_gemm_fp8.py`
- `examples/gemm_fp8/example_tilelang_gemm_fp8_2xAcc.py`
- `examples/gemm_fp8/example_tilelang_gemm_fp8_intrinsic.py`
- `src/target/codegen_hip.cc`
- `src/tl_templates/hip/hip_fp8.h`
- `testing/python/tilelibrary/test_tilelang_tilelibrary_gemm.py`
- `tilelang/intrinsics/mfma_macro_generator.py`
- `tilelang/utils/__init__.py`
- `tilelang/utils/target.py`

## Evidence Bundle

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