---
id: pr-flash-attention-cutlass-14
repo: dcutoolkit/deeplearing/flash-attention-cutlass
pr: 14
title: buffer load使用index和offset
author: zhanghj2
date: '2025-09-26'
url: http://42.228.13.241:10068/dcutoolkit/deeplearing/flash-attention-cutlass/-/merge_requests/14
source_category: upstream-code
architectures:
- dcu
- gfx928
- gfx936
- gfx938
tags:
- attention
- cutlass
- dcu
- flash-attention
- hip
- rocm
techniques:
- build-system
hardware_features:
- bf16
- fp16
kernel_types:
- attention
languages:
- cpp
- cuda-cpp
- hip
- python
captured_at: '2026-05-19T07:28:38.621971+00:00'
status: open
merge_sha: 285a7e47d33bad00ecc28551c993670a5686c6f9
inclusion_reason: Use as LightOp/DCU upstream MR evidence; web/API MR state was unavailable, so validate portability against local LightOp before reuse.
changed_paths:
- csrc/flash_attn/flash_api.cpp
- csrc/flash_attn/flash_api_sparse.cpp
- csrc/flash_attn/src/flash_fwd_sparse_hdim128_bf16_causal_sm80.cu
- csrc/flash_attn/src/flash_fwd_sparse_hdim128_bf16_sm80.cu
- csrc/flash_attn/src/flash_fwd_sparse_hdim128_fp16_causal_sm80.cu
- csrc/flash_attn/src/flash_fwd_sparse_hdim128_fp16_sm80.cu
- csrc/flash_attn/src/flash_fwd_sparse_kernel.h
- csrc/flash_attn/src/flash_fwd_sparse_launch_template.h
- csrc/flash_attn/src/flash_sparse.h
- csrc/flash_attn/src/utils.h
- flash_attn/__init__.py
- flash_attn/flash_attn_interface.py
- setup.py
artifact_dir: evidence/pull-bundles/flash-attention-cutlass/mr-14
---
# buffer load使用index和offset

- Repository: `dcutoolkit/deeplearing/flash-attention-cutlass`
- MR: [14](http://42.228.13.241:10068/dcutoolkit/deeplearing/flash-attention-cutlass/-/merge_requests/14)
- Decision: `include`
- Reason: Use as LightOp/DCU upstream MR evidence; web/API MR state was unavailable, so validate portability against local LightOp before reuse.

## Changed Paths

- `csrc/flash_attn/flash_api.cpp`
- `csrc/flash_attn/flash_api_sparse.cpp`
- `csrc/flash_attn/src/flash_fwd_sparse_hdim128_bf16_causal_sm80.cu`
- `csrc/flash_attn/src/flash_fwd_sparse_hdim128_bf16_sm80.cu`
- `csrc/flash_attn/src/flash_fwd_sparse_hdim128_fp16_causal_sm80.cu`
- `csrc/flash_attn/src/flash_fwd_sparse_hdim128_fp16_sm80.cu`
- `csrc/flash_attn/src/flash_fwd_sparse_kernel.h`
- `csrc/flash_attn/src/flash_fwd_sparse_launch_template.h`
- `csrc/flash_attn/src/flash_sparse.h`
- `csrc/flash_attn/src/utils.h`
- `flash_attn/__init__.py`
- `flash_attn/flash_attn_interface.py`
- `setup.py`

## Artifact Bundle

`evidence/pull-bundles/flash-attention-cutlass/mr-14`
