fix: T=1 for QK direct test (write_q_to_smem only handles row 0)
This commit is contained in:
@@ -118,7 +118,7 @@ test_qk_direct_kernel(float* __restrict__ out_s,
|
||||
|
||||
int main() {
|
||||
printf("Direct QK Test (HD=%d, SK=%d)\n", HD, SK);
|
||||
const int T = 4;
|
||||
const int T = 1;
|
||||
|
||||
bf16_t* h_q = (bf16_t*)calloc(128 * HD, sizeof(bf16_t));
|
||||
bf16_t* h_k = (bf16_t*)calloc(SK * HD, sizeof(bf16_t));
|
||||
|
||||
Reference in New Issue
Block a user