---
id: pr-flash-attention-2242
repo: Dao-AILab/flash-attention
pr: 2242
title: Fix Hopper tests
author: drisspg
date: '2026-02-08'
url: https://github.com/Dao-AILab/flash-attention/pull/2242
source_category: upstream-code
architectures:
- sm90
tags:
- hopper
techniques: []
hardware_features:
- hopper
kernel_types:
- attention
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 72c7ba484d33ca43711897de44e5bb8e0589a7f4
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- flash_attn/cute/interface.py
- tests/cute/test_flash_attn.py
- tests/cute/test_flash_attn_race_condition.py
- tests/cute/test_mask_mod.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2242
head_ref_oid: 466eadc603b7ae81e3fd8c74f02e8197341b6a7a
---
# Fix Hopper tests

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

- `flash_attn/cute/interface.py`
- `tests/cute/test_flash_attn.py`
- `tests/cute/test_flash_attn_race_condition.py`
- `tests/cute/test_mask_mod.py`

## Evidence Bundle

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