---
id: pr-flash-attention-1427
repo: Dao-AILab/flash-attention
pr: 1427
title: Generalize cuda version checks for A100 and above
author: ksivaman
date: '2025-01-09'
url: https://github.com/Dao-AILab/flash-attention/pull/1427
source_category: upstream-code
architectures:
- sm100
tags:
- blackwell
techniques: []
hardware_features:
- blackwell
kernel_types:
- attention
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: bbb21d6533e9c8d6537e58843df288af86f57193
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- csrc/flash_attn/flash_api.cpp
artifact_dir: evidence/pull-bundles/flash-attention/gh-1427
head_ref_oid: 915275035da5ed535887dbbbbff0525a769ed011
---
# Generalize cuda version checks for A100 and above

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

- `csrc/flash_attn/flash_api.cpp`

## Evidence Bundle

`evidence/pull-bundles/flash-attention/gh-1427`
