---
id: pr-flashinfer-1272
repo: flashinfer-ai/flashinfer
pr: 1272
title: Add shuffle matrix flag
author: aleozlx
date: '2025-07-18'
url: https://github.com/flashinfer-ai/flashinfer/pull/1272
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- gemm
- moe
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 39d81f779b20766f28022e815d3a173ddb9b38ac
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_batched_gemm_runner.cu
- csrc/trtllm_fused_moe_kernel_launcher.cu
- csrc/trtllm_fused_moe_runner.cu
- flashinfer/fused_moe.py
- flashinfer/jit/cubin_loader.py
- include/flashinfer/trtllm/batched_gemm/KernelRunner.h
- include/flashinfer/trtllm/batched_gemm/trtllmGen_bmm_export/BatchedGemmInterface.h
- include/flashinfer/trtllm/batched_gemm/trtllmGen_bmm_export/KernelMetaInfo.h
- include/flashinfer/trtllm/fused_moe/runner.h
- tests/test_trtllm_gen_fused_moe.py
head_ref_oid: 3ad4cd4f29aa0ee5ad15c1d86de7f4fcf33d7727
artifact_dir: evidence/pull-bundles/flashinfer/gh-1272
---
# Add shuffle matrix flag

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

## Changed Paths

- `csrc/trtllm_batched_gemm_runner.cu`
- `csrc/trtllm_fused_moe_kernel_launcher.cu`
- `csrc/trtllm_fused_moe_runner.cu`
- `flashinfer/fused_moe.py`
- `flashinfer/jit/cubin_loader.py`
- `include/flashinfer/trtllm/batched_gemm/KernelRunner.h`
- `include/flashinfer/trtllm/batched_gemm/trtllmGen_bmm_export/BatchedGemmInterface.h`
- `include/flashinfer/trtllm/batched_gemm/trtllmGen_bmm_export/KernelMetaInfo.h`
- `include/flashinfer/trtllm/fused_moe/runner.h`
- `tests/test_trtllm_gen_fused_moe.py`

## Evidence Bundle

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