Skip to content

Commit f6365b1

Browse files
tczeszuntprimak
authored andcommitted
cpu: x64: brgemm: fix bottom vpad bdb_tail condition
1 parent 2ede31e commit f6365b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpu/x64/brgemm/jit_brgemm_kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2110,7 +2110,7 @@ void jit_brgemm_kernel_t<isa, Wmm>::ldb_loop(int bd_block2, bool is_bdb_tail,
21102110
if (!check_top_vpad && vpad > 0) continue;
21112111
if (!check_bottom_vpad && vpad < 0) continue;
21122112
auto real_vpad = vpad;
2113-
if (check_bottom_vpad && brg.bdb_tail) {
2113+
if (check_bottom_vpad && brg.bdb_tail && vpad < 0) {
21142114
if (!is_bdb_tail) {
21152115
// for last full block before
21162116
// bdb_tail && -vpad greater than bdb_tail

0 commit comments

Comments
 (0)