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
36bc29ed
Commit
36bc29ed
authored
Jan 22, 2024
by
Tri Dao
Browse files
Use int64_t instead of uint32_t in kernel_traits.h
parent
000b67f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/flash_attn/src/kernel_traits.h
csrc/flash_attn/src/kernel_traits.h
+1
-1
No files found.
csrc/flash_attn/src/kernel_traits.h
View file @
36bc29ed
...
@@ -24,7 +24,7 @@ struct Flash_kernel_traits {
...
@@ -24,7 +24,7 @@ struct Flash_kernel_traits {
#endif
#endif
using
ElementAccum
=
float
;
using
ElementAccum
=
float
;
using
index_t
=
u
int
32
_t
;
using
index_t
=
int
64
_t
;
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 800
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 800
using
MMA_Atom_Arch
=
std
::
conditional_t
<
using
MMA_Atom_Arch
=
std
::
conditional_t
<
...
...
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