---
id: pr-flashinfer-714
repo: flashinfer-ai/flashinfer
pr: 714
title: 'perf: fix the iteration bound of SWA in FA2 prefill template'
author: yzh119
date: '2025-01-04'
url: https://github.com/flashinfer-ai/flashinfer/pull/714
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: 989dbfa65f28939575d4f2c15ed71bb09c030287
inclusion_reason: kernel file changes
changed_paths:
- include/flashinfer/attention/prefill.cuh
head_ref_oid: bef71d2fbd4e9573acacbe71ec375ad4fe58983e
artifact_dir: evidence/pull-bundles/flashinfer/gh-714
---
# perf: fix the iteration bound of SWA in FA2 prefill template

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

## Changed Paths

- `include/flashinfer/attention/prefill.cuh`

## Evidence Bundle

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