---
id: pr-quack-36
repo: Dao-AILab/quack
pr: 36
title: '[GemmSm90]Add varlen_utils and make gemm interface api return shape consistent'
author: zfan2356
date: '2025-09-08'
url: https://github.com/Dao-AILab/quack/pull/36
source_category: upstream-code
architectures:
- sm90
tags:
- gemm
- sm90
techniques: []
hardware_features:
- hopper
kernel_types:
- gemm
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: b9b956a6188414ded75c4e799d6e200598adb158
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- benchmarks/benchmark_gemm_sm90.py
- quack/gemm_interface.py
- quack/varlen_utils.py
- tests/test_gemm_interface.py
artifact_dir: evidence/pull-bundles/quack/gh-36
head_ref_oid: 2331b653ec6ca2d7f3be2688ecac0ddd795356c7
---
# [GemmSm90]Add varlen_utils and make gemm interface api return shape consistent

- Repository: `Dao-AILab/quack`
- PR: [36](https://github.com/Dao-AILab/quack/pull/36)
- 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

- `benchmarks/benchmark_gemm_sm90.py`
- `quack/gemm_interface.py`
- `quack/varlen_utils.py`
- `tests/test_gemm_interface.py`

## Evidence Bundle

`evidence/pull-bundles/quack/gh-36`
