Use int64_t instead of uint32_t for index_t
This commit is contained in:
parent
e43a4ceaab
commit
000b67f5d8
@ -22,7 +22,7 @@ constexpr int D_DIM = 2;
|
|||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct Qkv_params {
|
struct Qkv_params {
|
||||||
using index_t = uint32_t;
|
using index_t = int64_t;
|
||||||
// The QKV matrices.
|
// The QKV matrices.
|
||||||
void *__restrict__ q_ptr;
|
void *__restrict__ q_ptr;
|
||||||
void *__restrict__ k_ptr;
|
void *__restrict__ k_ptr;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user