Skip to content

Commit

Permalink
fixup: src: replace implementations' pd ctor with base class ctor
Browse files Browse the repository at this point in the history
Missed couple spots.
  • Loading branch information
dzarukin authored and mgouicem committed Nov 29, 2024
1 parent 149d1ae commit 4e5f054
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/cpu/aarch64/jit_uni_dw_convolution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ template <cpu_isa_t isa, data_type_t diff_dst_type,
data_type_t diff_src_type = diff_dst_type>
struct jit_uni_dw_convolution_bwd_data_t : public primitive_t {
struct pd_t : public cpu_convolution_bwd_data_pd_t {
pd_t(const convolution_desc_t *adesc, const primitive_attr_t *attr,
const convolution_fwd_pd_t *hint_fwd_pd)
: cpu_convolution_bwd_data_pd_t(adesc, attr, hint_fwd_pd), jcp_() {}
using cpu_convolution_bwd_data_pd_t::cpu_convolution_bwd_data_pd_t;

DECLARE_COMMON_PD_T(JIT_IMPL_NAME_HELPER("jit_dw:", jcp_.isa, ""),
jit_uni_dw_convolution_bwd_data_t);
Expand Down Expand Up @@ -193,10 +191,9 @@ template <cpu_isa_t isa, data_type_t src_type,
data_type_t diff_weights_type = src_type>
struct jit_uni_dw_convolution_bwd_weights_t : public primitive_t {
struct pd_t : public cpu_convolution_bwd_weights_pd_t {
pd_t(const convolution_desc_t *adesc, const primitive_attr_t *attr,
const convolution_fwd_pd_t *hint_fwd_pd)
: cpu_convolution_bwd_weights_pd_t(adesc, attr, hint_fwd_pd)
, jcp_() {}
using cpu_convolution_bwd_weights_pd_t::
cpu_convolution_bwd_weights_pd_t;

using jit_uni_dw_convolution_bwd_weights
= jit_uni_dw_convolution_bwd_weights_t<isa, src_type,
diff_weights_type>;
Expand Down

0 comments on commit 4e5f054

Please sign in to comment.