Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
flash-attention
Commits
3e9414f1
Unverified
Commit
3e9414f1
authored
Mar 28, 2024
by
ljss
Committed by
GitHub
Mar 27, 2024
Browse files
Minor fix in compute_attn_1rowblock_splitkv (#900)
parent
36587c01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
csrc/flash_attn/src/flash_fwd_kernel.h
csrc/flash_attn/src/flash_fwd_kernel.h
+2
-2
No files found.
csrc/flash_attn/src/flash_fwd_kernel.h
View file @
3e9414f1
...
...
@@ -491,8 +491,8 @@ inline __device__ void compute_attn_1rowblock_splitkv(const Params ¶ms, cons
using
GmemTiledCopyO
=
std
::
conditional_t
<
!
Split
,
typename
Kernel_traits
::
GmemTiledCopyO
accum
,
typename
Kernel_traits
::
GmemTiledCopyO
typename
Kernel_traits
::
GmemTiledCopyO
,
typename
Kernel_traits
::
GmemTiledCopyO
accum
>
;
using
ElementO
=
std
::
conditional_t
<!
Split
,
Element
,
ElementAccum
>
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment