---
id: pr-flashinfer-2740
repo: flashinfer-ai/flashinfer
pr: 2740
title: 'misc: Update gemm/batched gemm cubins from trtllm-gen, gemm header refactor'
author: jimmyzho
date: '2026-04-07'
url: https://github.com/flashinfer-ai/flashinfer/pull/2740
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
- kernel-fusion
- moe
- tma
techniques:
- kernel-fusion
hardware_features:
- tma
kernel_types:
- gemm
- moe
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 1fd6305b4d9a2590a3b97d2fca96a59d3436471f
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_gemm_runner.cu
- csrc/trtllm_low_latency_gemm_runner.cu
- flashinfer/artifacts.py
- flashinfer/jit/gemm/core.py
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/Enums.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmInterface.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmOptions.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParams.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParamsDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelTraits.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/TmaDescriptor.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CommonUtils.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaArchDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaKernelLauncher.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/DtypeDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/MmaDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SfLayoutDecl.h
- include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SparsityDecl.h
- tests/moe/test_trtllm_gen_fused_moe.py
head_ref_oid: 29f90528f394066cf9a4d1ec9392401d293372c2
artifact_dir: evidence/pull-bundles/flashinfer/gh-2740
---
# misc: Update gemm/batched gemm cubins from trtllm-gen, gemm header refactor

- Repository: `flashinfer-ai/flashinfer`
- PR: [2740](https://github.com/flashinfer-ai/flashinfer/pull/2740)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/trtllm_gemm_runner.cu`
- `csrc/trtllm_low_latency_gemm_runner.cu`
- `flashinfer/artifacts.py`
- `flashinfer/jit/gemm/core.py`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/Enums.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmInterface.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/GemmOptions.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParams.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelParamsDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/KernelTraits.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/TmaDescriptor.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CommonUtils.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaArchDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/CudaKernelLauncher.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/DtypeDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/MmaDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SfLayoutDecl.h`
- `include/flashinfer/trtllm/gemm/trtllmGen_gemm_export/trtllm/gen/SparsityDecl.h`
- `tests/moe/test_trtllm_gen_fused_moe.py`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2740`
