Skip to content

Commit 894331a

Browse files
committed
src: cpu: conv: u8s832x: init ur_w once
1 parent 464c268 commit 894331a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/cpu/jit_avx512_core_u8s8s32x_conv_kernel.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -491,15 +491,6 @@ status_t jit_avx512_core_u8s8s32x_fwd_kernel::init_conf(jit_conv_conf_t &jcp,
491491
? types::data_type_size(bias_d.data_type())
492492
: 0;
493493

494-
for (int ur_w = regs; ur_w > 0; --ur_w)
495-
if (jcp.ow % ur_w == 0) {
496-
jcp.ur_w = ur_w;
497-
break;
498-
}
499-
500-
if (jcp.ur_w == 1)
501-
jcp.ur_w = nstl::min(jcp.ow, regs);
502-
503494
jcp.nb_ic = jcp.ic / jcp.ic_block;
504495
jcp.nb_oc = jcp.oc / jcp.oc_block;
505496

0 commit comments

Comments
 (0)