fix: lane vs threadIdx.x in direct QK test
This commit is contained in:
@@ -92,7 +92,7 @@ test_qk_direct_kernel(float* __restrict__ out_s,
|
||||
__syncthreads();
|
||||
|
||||
const bool my_warp_active = (wid == 0);
|
||||
const int my_row = lane;
|
||||
const int my_row = threadIdx.x % 32;
|
||||
const bool my_row_active = my_row < T;
|
||||
constexpr int NUM_READS = SK / 8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user