---
id: pr-quack-107
repo: Dao-AILab/quack
pr: 107
title: '[Gemm] Implement concat_layout'
author: tridao
date: '2026-04-18'
url: https://github.com/Dao-AILab/quack/pull/107
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types:
- gemm
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 48d8f77586ad2767f82a620868a15f5204eb4c1b
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- AGENTS.md
- quack/gemm.py
- quack/gemm_act.py
- quack/gemm_interface.py
- quack/gemm_sm100.py
- quack/gemm_sm120.py
- quack/gemm_sm90.py
- quack/gemm_tvm_ffi_utils.py
- quack/layout_utils.py
- quack/linear.py
- quack/mlp.py
- tests/test_linear.py
- tests/test_linear_varlen_k.py
- tests/test_linear_varlen_m.py
- tests/test_mlp.py
artifact_dir: evidence/pull-bundles/quack/gh-107
head_ref_oid: 985f58e3a5d24476d36492b512e3c3d10934dbad
---
# [Gemm] Implement concat_layout

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

- `AGENTS.md`
- `quack/gemm.py`
- `quack/gemm_act.py`
- `quack/gemm_interface.py`
- `quack/gemm_sm100.py`
- `quack/gemm_sm120.py`
- `quack/gemm_sm90.py`
- `quack/gemm_tvm_ffi_utils.py`
- `quack/layout_utils.py`
- `quack/linear.py`
- `quack/mlp.py`
- `tests/test_linear.py`
- `tests/test_linear_varlen_k.py`
- `tests/test_linear_varlen_m.py`
- `tests/test_mlp.py`

## Evidence Bundle

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