Skip to content

Commit 36bc29e

Browse files
committed
Use int64_t instead of uint32_t in kernel_traits.h
1 parent 000b67f commit 36bc29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrc/flash_attn/src/kernel_traits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct Flash_kernel_traits {
2424
#endif
2525

2626
using ElementAccum = float;
27-
using index_t = uint32_t;
27+
using index_t = int64_t;
2828

2929
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ >= 800
3030
using MMA_Atom_Arch = std::conditional_t<

0 commit comments

Comments
 (0)