Skip to content

Commit

Permalink
x64: fix inp_buffer_size for strided convolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
ankalinin committed Mar 24, 2023
1 parent 5e76d8b commit c3b1dcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cpu/x64/jit_brgemm_conv_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2068,9 +2068,9 @@ status_t init_conf(jit_brgemm_conv_conf_t &jcp, cpu_isa_t isa,
if (jcp.is_os_blocking)
hs = div_up(rnd_up(hs * jcp.iwp, jcp.brgM), jcp.iwp);

jcp.inp_buffer_size = rnd_up(ds * hs * jcp.iwp * jcp.ngroups * jcp.nb_ic
* jcp.ic_block * jcp.kh_sets * jcp.kw_sets,
P4K);
jcp.inp_buffer_size = rnd_up(
ds * hs * jcp.iwp * jcp.ngroups * jcp.nb_ic * jcp.LDA, P4K);

jcp.inp_buffer_mask_size = rnd_up(static_cast<dim_t>(jcp.nb_od)
* jcp.nb_oh * jcp.nb_ow * jcp.ngroups * jcp.nb_ic,
P4K);
Expand Down

0 comments on commit c3b1dcd

Please sign in to comment.