Increase SMEM size for flash
This commit is contained in:
@@ -12,9 +12,9 @@
|
|||||||
// 64KB
|
// 64KB
|
||||||
// #define SMEM_SIZE 0x10000
|
// #define SMEM_SIZE 0x10000
|
||||||
// 128KB (FP16 GEMM)
|
// 128KB (FP16 GEMM)
|
||||||
#define SMEM_SIZE 0x20000
|
// #define SMEM_SIZE 0x20000
|
||||||
// 256KB (FlashAttention)
|
// 256KB (FlashAttention)
|
||||||
// #define SMEM_SIZE 0x40000
|
#define SMEM_SIZE 0x40000
|
||||||
|
|
||||||
#define SMEM_MASK (SMEM_SIZE - 1)
|
#define SMEM_MASK (SMEM_SIZE - 1)
|
||||||
#define SMEM_ADDR_END (SMEM_BASE + SMEM_SIZE)
|
#define SMEM_ADDR_END (SMEM_BASE + SMEM_SIZE)
|
||||||
|
|||||||
Reference in New Issue
Block a user