---
id: pr-deepgemm-193
repo: deepseek-ai/DeepGEMM
pr: 193
title: Fix multicast bug and optimize masked GEMM
author: yukuai26
date: '2025-09-12'
url: https://github.com/deepseek-ai/DeepGEMM/pull/193
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- arch_pipeline
- compiler_runtime
- gemm
- gemm_quant
- grouped gemm
- scheduler_autotune
techniques:
- autotuning
- fine-grained-quantization
- pipeline-stages
- tile-scheduling
hardware_features:
- blackwell
- hopper
kernel_types:
- compiler
- gemm
- runtime
- scheduler
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 79f48ee15a82dd5fad5cd9beaa393c1f755e6b55
inclusion_reason: 'Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.'
changed_paths:
- csrc/jit_kernels/heuristics/common.hpp
- csrc/jit_kernels/heuristics/sm100.hpp
- csrc/jit_kernels/heuristics/sm90.hpp
artifact_dir: evidence/pull-bundles/deepgemm/gh-193
head_ref_oid: 821ad1e49cc4fd6677f44ed2ec51d526d8e435a3
---
# Fix multicast bug and optimize masked GEMM

- Repository: `deepseek-ai/DeepGEMM`
- PR: [193](https://github.com/deepseek-ai/DeepGEMM/pull/193)
- Decision: `Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.`
- Reason: Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.

## Changed Paths

- `csrc/jit_kernels/heuristics/common.hpp`
- `csrc/jit_kernels/heuristics/sm100.hpp`
- `csrc/jit_kernels/heuristics/sm90.hpp`

## Evidence Bundle

`evidence/pull-bundles/deepgemm/gh-193`
