From 3109864400e4f608bc88b1000d0ffffa8b1176eb Mon Sep 17 00:00:00 2001 From: Xiuchuan Zhai Date: Fri, 13 Dec 2024 11:26:56 +0800 Subject: [PATCH] rebase and fix conflicts --- src/plugins/intel_cpu/src/nodes/bin_conv.cpp | 12 ++++----- src/plugins/intel_cpu/src/nodes/reduce.cpp | 26 +++++--------------- 2 files changed, 12 insertions(+), 26 deletions(-) diff --git a/src/plugins/intel_cpu/src/nodes/bin_conv.cpp b/src/plugins/intel_cpu/src/nodes/bin_conv.cpp index c8fb24cccdbcce..68952e6ccc5199 100644 --- a/src/plugins/intel_cpu/src/nodes/bin_conv.cpp +++ b/src/plugins/intel_cpu/src/nodes/bin_conv.cpp @@ -66,12 +66,12 @@ struct jit_uni_bin_conv_kernel_f32 : public jit_uni_bin_conv_kernel, public jit_ for (int i = 0; i < end_idx; i++) { auto& post_op = p.entry_[i]; if (post_op.is_eltwise()) { - eltwise_injectors.push_back(std::make_shared>(this, - post_op.eltwise, - data_type::f32, - true, - eltwise_reserved, - mask_post_op_reserved)); + eltwise_injectors.push_back(std::make_shared>(this, + post_op.eltwise, + data_type::f32, + true, + eltwise_reserved, + mask_post_op_reserved)); } else if (post_op.is_depthwise()) { depthwise_injectors.push_back( std::make_shared>(this, post_op, mask_post_op_reserved)); diff --git a/src/plugins/intel_cpu/src/nodes/reduce.cpp b/src/plugins/intel_cpu/src/nodes/reduce.cpp index bb362e73e881cf..c89f876da314df 100644 --- a/src/plugins/intel_cpu/src/nodes/reduce.cpp +++ b/src/plugins/intel_cpu/src/nodes/reduce.cpp @@ -1206,19 +1206,11 @@ struct jit_uni_reduce_post_kernel_f32 : public jit_uni_reduce_post_kernel, publi for (int i = 0; i < p.len(); i++) { auto& post_op = p.entry_[i]; if (post_op.is_eltwise()) { -<<<<<<< HEAD - eltwise_injectors.push_back(std::make_shared>(this, - post_op.eltwise.alg, - post_op.eltwise.alpha, - post_op.eltwise.beta, - post_op.eltwise.scale)); -||||||| parent of 06bd287fe3 (try to migrate onednn3.6) - eltwise_injectors.push_back(std::make_shared>( - this, post_op.eltwise.alg, post_op.eltwise.alpha, post_op.eltwise.beta, post_op.eltwise.scale)); -======= - eltwise_injectors.push_back(std::make_shared>( - this, post_op.eltwise.alg, post_op.eltwise.alpha, post_op.eltwise.beta, post_op.eltwise.scale)); ->>>>>>> 06bd287fe3 (try to migrate onednn3.6) + eltwise_injectors.push_back(std::make_shared>(this, + post_op.eltwise.alg, + post_op.eltwise.alpha, + post_op.eltwise.beta, + post_op.eltwise.scale)); } else if (post_op.is_depthwise()) { depthwise_injectors.push_back(std::make_shared>(this, post_op)); } else if (post_op.is_quantization()) { @@ -1232,14 +1224,8 @@ struct jit_uni_reduce_post_kernel_f32 : public jit_uni_reduce_post_kernel, publi } if (jcp_.reduce_mode == Algorithm::ReduceLogSum || jcp_.reduce_mode == Algorithm::ReduceLogSumExp) { -<<<<<<< HEAD log_injector = - std::make_shared>(this, alg_kind::eltwise_log, 0.f, 0.f, 1.f); -||||||| parent of 06bd287fe3 (try to migrate onednn3.6) - log_injector = std::make_shared>(this, alg_kind::eltwise_log, 0.f, 0.f, 1.f); -======= - log_injector = std::make_shared>(this, alg_kind::eltwise_log, 0.f, 0.f, 1.f); ->>>>>>> 06bd287fe3 (try to migrate onednn3.6) + std::make_shared>(this, alg_kind::eltwise_log, 0.f, 0.f, 1.f); } if (mayiuse(avx512_core))