---
id: pr-flashinfer-1140
repo: flashinfer-ai/flashinfer
pr: 1140
title: Fix FA2 and FA3 multi-item scoring and cuda illegal memory access error
author: arde171
date: '2025-06-13'
url: https://github.com/flashinfer-ai/flashinfer/pull/1140
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- prefill
techniques: []
hardware_features: []
kernel_types:
- attention
- prefill
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 5c3e4e8574eef8c0ac012711698be8ec3ba1cc07
inclusion_reason: kernel file changes
changed_paths:
- include/flashinfer/attention/hopper/mainloop_mma.cuh
- include/flashinfer/attention/hopper/prefill_sm90.cuh
- include/flashinfer/attention/hopper/sparse_mainloop.cuh
- include/flashinfer/attention/prefill.cuh
head_ref_oid: 57bb89990fc5791980acfd3934cd217011cba946
artifact_dir: evidence/pull-bundles/flashinfer/gh-1140
---
# Fix FA2 and FA3 multi-item scoring and cuda illegal memory access error

- Repository: `flashinfer-ai/flashinfer`
- PR: [1140](https://github.com/flashinfer-ai/flashinfer/pull/1140)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `include/flashinfer/attention/hopper/mainloop_mma.cuh`
- `include/flashinfer/attention/hopper/prefill_sm90.cuh`
- `include/flashinfer/attention/hopper/sparse_mainloop.cuh`
- `include/flashinfer/attention/prefill.cuh`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-1140`
