@@ -70,6 +70,8 @@ status_t acl_gemm_convolution_fwd_t<src_t, wei_t, dst_t, bia_t>::pd_t::init(
70
70
CHECK (acl_convolution_utils::acl_init_conf (
71
71
acp_, src_md_, weights_md_, dst_md_, bias_md_, *desc (), *attr ()));
72
72
73
+ CHECK (post_ops.init (engine, attr_.post_ops_ , dst_md_, acp_.act_info ));
74
+
73
75
// Validate convolution manually to check for return status
74
76
ACL_CHECK_VALID (Op::validate (&acp_.src_tensor_info , &acp_.wei_tensor_info ,
75
77
acp_.with_bias ? &acp_.bia_tensor_info : nullptr ,
@@ -83,10 +85,9 @@ status_t acl_gemm_convolution_fwd_t<src_t, wei_t, dst_t, bia_t>::pd_t::init(
83
85
acp_.dilation_info , acp_.act_info , acp_.fast_math );
84
86
85
87
auto scratchpad = scratchpad_registry ().registrar ();
86
- const auto mem_req = conv.workspace ();
87
- return init_scratchpad (conv, scratchpad, gemm_conv_keys, engine, post_ops,
88
- attr_.post_ops_ , acp_.act_info , acp_.use_dst_acc_for_sum , dst_md_,
89
- bias_md_, acp_.is_quantized );
88
+ return init_scratchpad (conv, scratchpad, gemm_conv_keys, engine,
89
+ post_ops, attr_.post_ops_ , acp_.act_info , acp_.use_dst_acc_for_sum ,
90
+ dst_md_, bias_md_, acp_.is_quantized );
90
91
}
91
92
92
93
template <data_type_t src_t , data_type_t wei_t , data_type_t dst_t ,
0 commit comments