---
id: pr-tilelang-1090
repo: tile-ai/tilelang
pr: 1090
title: '[BugFix] Correct direct copy from bf16 to fp8'
author: Cunxiao2002
date: '2025-10-29'
url: https://github.com/tile-ai/tilelang/pull/1090
source_category: upstream-code
architectures:
- sm90
tags:
- cute
- sm90
techniques: []
hardware_features:
- fp8
- hopper
kernel_types: []
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: e1b12bd089bcc3336a9f85b230ffb227ad015525
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- src/tl_templates/cuda/common.h
- src/tl_templates/cuda/cuda_fp8.h
- src/tl_templates/cuda/gemm_mma.h
- src/tl_templates/cuda/gemm_sm100.h
- src/tl_templates/cuda/gemm_sm90.h
- src/tl_templates/cuda/gemm_sp_sm90.h
artifact_dir: evidence/pull-bundles/tilelang/gh-1090
head_ref_oid: e9b95011f74782cbdc258498e1c3fde667001df3
---
# [BugFix] Correct direct copy from bf16 to fp8

- Repository: `tile-ai/tilelang`
- PR: [1090](https://github.com/tile-ai/tilelang/pull/1090)
- 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/tl_templates/cuda/common.h`
- `src/tl_templates/cuda/cuda_fp8.h`
- `src/tl_templates/cuda/gemm_mma.h`
- `src/tl_templates/cuda/gemm_sm100.h`
- `src/tl_templates/cuda/gemm_sm90.h`
- `src/tl_templates/cuda/gemm_sp_sm90.h`

## Evidence Bundle

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