diff --git a/libxe2/xe2_gdn.cpp b/libxe2/xe2_gdn.cpp index dc10c023..8726e5e0 100644 --- a/libxe2/xe2_gdn.cpp +++ b/libxe2/xe2_gdn.cpp @@ -409,7 +409,7 @@ int gdn_kkt_solve(const RadArgs* a, RadStream st) { * in turn on 48 work-groups with its rows in global memory (31 ms a 1882-token call). */ constexpr int CK = 64, KMAX = 128; constexpr int KR = KMAX + 2; /* k rows padded: neighbouring lanes read different rows */ - constexpr int KWG = 256; /* the row terms spread over 256 work-items; the solve uses 64 */ + constexpr int KWG = 512; /* the row terms spread over 512 work-items; the solve uses 64 */ const int64_t cmax = (T + CK - 1) / CK; /* a sequence has at most T tokens */ const bool typed = ks.dt == RAD_BF16 && bs.dt == RAD_F32 && gs.dt == RAD_F32 && As.dt == RAD_BF16 && !std::getenv("XE2_GDN_GENERIC");