---
id: pr-pytorch-171140
repo: pytorch/pytorch
pr: 171140
title: '[ROCm] Make grouped GEMM CK opt‑in via env and default to fallback path'
author: jagadish-amd
date: '2026-01-08'
url: https://github.com/pytorch/pytorch/pull/171140
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 188a1ee7549d5d804c1de5f9cac5087316ed71f6
inclusion_reason: semantic match with file changes
changed_paths:
- aten/src/ATen/Context.cpp
- aten/src/ATen/Context.h
- aten/src/ATen/native/cuda/GroupedBlas.cpp
- test/test_matmul_cuda.py
head_ref_oid: 1478a5579ca26cf5c63f49850541f14d5b4eeff7
artifact_dir: evidence/pull-bundles/pytorch/gh-171140
---
# [ROCm] Make grouped GEMM CK opt‑in via env and default to fallback path

- Repository: `pytorch/pytorch`
- PR: [171140](https://github.com/pytorch/pytorch/pull/171140)
- Decision: `semantic match with file changes`
- Reason: semantic match with file changes

## Changed Paths

- `aten/src/ATen/Context.cpp`
- `aten/src/ATen/Context.h`
- `aten/src/ATen/native/cuda/GroupedBlas.cpp`
- `test/test_matmul_cuda.py`

## Evidence Bundle

`evidence/pull-bundles/pytorch/gh-171140`
