Skip to content

Commit

Permalink
cpu: x64: brgemm: fix bottom vpad bdb_tail condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tczeszun authored and tprimak committed May 22, 2023
1 parent fc7fced commit d3a9f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu/x64/brgemm/jit_brgemm_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1960,7 +1960,7 @@ void jit_brgemm_kernel_t<isa, Wmm>::ldb_loop(int bd_block2, bool is_bdb_tail,
if (!check_top_vpad && vpad > 0) continue;
if (!check_bottom_vpad && vpad < 0) continue;
auto real_vpad = vpad;
if (check_bottom_vpad && brg.bdb_tail) {
if (check_bottom_vpad && brg.bdb_tail && vpad < 0) {
if (!is_bdb_tail) {
// for last full block before
// bdb_tail && -vpad greater than bdb_tail
Expand Down

0 comments on commit d3a9f02

Please sign in to comment.