Skip to content

Commit 8c811df

Browse files
authored
Xbyak: upgrade xbyak version to v7.23.1 (#2867)
1 parent 71e4bcb commit 8c811df

5 files changed

+554
-304
lines changed

src/cpu/x64/jit_avx512_core_x8s8s32x_1x1_conv_kernel.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1188,8 +1188,8 @@ status_t jit_avx512_core_x8s8s32x_1x1_conv_kernel::init_conf(
11881188
jcp.nb_load_chunk = 1;
11891189
// peformance improvements for googlenet_v3, mb=1;
11901190
// TODO: generalize this condition and rewrite it in appropriate manner
1191-
int ncores_per_socket = (int)cpu().getNumCores(
1192-
Xbyak::util::IntelCpuTopologyLevel::CoreLevel);
1191+
int ncores_per_socket
1192+
= (int)cpu().getNumCores(Xbyak::util::CpuTopologyLevel::CoreLevel);
11931193
if (jcp.mb == 1 && jcp.nb_load % 4 == 0 && jcp.ic / jcp.oc >= 4
11941194
&& jcp.ic * jcp.oc <= L2_size && jcp.nthr <= ncores_per_socket) {
11951195
jcp.nb_load_chunk = 4;

src/cpu/x64/jit_avx512_core_x8s8s32x_conv_kernel.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1650,8 +1650,8 @@ status_t jit_avx512_core_x8s8s32x_fwd_kernel::init_conf(jit_conv_conf_t &jcp,
16501650
int max_threading_nb_oc_chunk = 4;
16511651
// Performance improvements for googlenet_v3 and resnet_50 with mb = 1;
16521652
// TODO: generalize this condition and rewrite it in appropriate manner
1653-
int ncores_per_socket = (int)cpu().getNumCores(
1654-
Xbyak::util::IntelCpuTopologyLevel::CoreLevel);
1653+
int ncores_per_socket
1654+
= (int)cpu().getNumCores(Xbyak::util::CpuTopologyLevel::CoreLevel);
16551655
if (jcp.has_vnni && jcp.mb == 1 && jcp.kh == 3 && jcp.kw == 3
16561656
&& jcp.stride_w == 1 && jcp.ic % 64 == 0
16571657
&& jcp.nthr <= ncores_per_socket)

0 commit comments

Comments
 (0)