diff --git a/src/plugins/intel_cpu/src/nodes/bin_conv.cpp b/src/plugins/intel_cpu/src/nodes/bin_conv.cpp index f37c9a51946..66fd73c086e 100644 --- a/src/plugins/intel_cpu/src/nodes/bin_conv.cpp +++ b/src/plugins/intel_cpu/src/nodes/bin_conv.cpp @@ -8,6 +8,7 @@ #include "eltwise.h" #include "fake_quantize.h" #include "conv.h" +#include #include #include #include @@ -63,10 +64,10 @@ 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(new jit_uni_eltwise_injector_f32( + eltwise_injectors.push_back(std::make_shared>( this, post_op.eltwise, true, eltwise_reserved, mask_post_op_reserved)); } else if (post_op.is_depthwise()) { - depthwise_injectors.push_back(new jit_uni_depthwise_injector_f32( + depthwise_injectors.push_back(std::make_shared>( this, post_op, mask_post_op_reserved)); } } @@ -210,8 +211,8 @@ private: Xbyak::Label l_table; - nstl::vector*> eltwise_injectors; - nstl::vector*> depthwise_injectors; + nstl::vector>> eltwise_injectors; + nstl::vector>> depthwise_injectors; void cvt2ps(dnnl::memory::data_type type_in, Vmm vmm_in, const Xbyak::Operand &op, bool scalar_load) { Xmm xmm_in = Xmm(vmm_in.getIdx());