Skip to content

Commit 99d9f1f

Browse files
authored
Fix conditional
1 parent 96d8080 commit 99d9f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/x86_64/sbgemv_n_microk_cooperlake_template.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ static int sbgemv_kernel_32xN_lda_direct(BLASLONG m, BLASLONG n, float alpha, bf
231231
accum512_8 = _mm512_permutex2var_ps(accum512_0, idx_base_0, accum512_1);
232232
accum512_9 = _mm512_permutex2var_ps(accum512_0, idx_base_1, accum512_1);
233233

234-
if ((m-tag_m_32x) > 16) {
234+
if ((m-tag_m_32x) >= 16) {
235235
STORE16_COMPLETE_RESULT(accum512_8, y+tag_m_32x+0)
236236
STORE16_MASK_COMPLETE_RESULT(accum512_9, y+tag_m_32x+16, store_tail_mask)
237237
} else {

0 commit comments

Comments
 (0)