---
id: pr-cutlass-3055
repo: NVIDIA/cutlass
pr: 3055
title: Replace std::min with cute::min in sm120 blockwise scaling device functions
author: vruga
date: '2026-04-24'
url: https://github.com/NVIDIA/cutlass/pull/3055
source_category: upstream-code
architectures:
- sm100
tags:
- arch_pipeline
- compiler_runtime
- gemm_quant
- sm120
- tma
techniques:
- async-copy
- fine-grained-quantization
- pipeline-stages
hardware_features:
- tma
kernel_types:
- compiler
- gemm
- runtime
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 9135a9bb6dbbe55e6d251eaed76ca3e7a95aa32a
inclusion_reason: 'Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.'
changed_paths:
- include/cutlass/gemm/collective/sm120_mma_array_tma_blockwise_scaling.hpp
- include/cutlass/gemm/collective/sm120_mma_tma_blockwise_scaling.hpp
artifact_dir: evidence/pull-bundles/cutlass/gh-3055
head_ref_oid: c969a1b1f9bea269e9a8f809a00732d4c2465553
---
# Replace std::min with cute::min in sm120 blockwise scaling device functions

- Repository: `NVIDIA/cutlass`
- PR: [3055](https://github.com/NVIDIA/cutlass/pull/3055)
- 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

- `include/cutlass/gemm/collective/sm120_mma_array_tma_blockwise_scaling.hpp`
- `include/cutlass/gemm/collective/sm120_mma_tma_blockwise_scaling.hpp`

## Evidence Bundle

`evidence/pull-bundles/cutlass/gh-3055`
