fix: lane vs threadIdx.x in direct QK test

This commit is contained in:
2026-05-29 18:32:21 +00:00
parent 670599b754
commit bee7cc5f8f

View File

@@ -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;