Skip to content

Commit

Permalink
Add kMaxSplits=8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
qianfengz committed Oct 17, 2024
1 parent 4b4327e commit bc107ad
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@

#define FMHA_FWD_NUM_KV_SPLITS_SWITCH(NUM_SPLITS, CONST_NAME, ...) \
[&] { \
if (NUM_SPLITS <= 16) { \
if (NUM_SPLITS <= 8) { \
constexpr ck_tile::index_t CONST_NAME = 3; \
__VA_ARGS__(); \
} else if (NUM_SPLITS <= 16) { \
constexpr ck_tile::index_t CONST_NAME = 4; \
__VA_ARGS__(); \
} else if (NUM_SPLITS <= 32) { \
Expand Down

0 comments on commit bc107ad

Please sign in to comment.