We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bdd320 commit d3b15a9Copy full SHA for d3b15a9
src/common/primitive_desc.hpp
@@ -174,7 +174,8 @@ struct primitive_desc_t : public c_compatible {
174
&& !attr()->weights_zero_points_.has_default_values())
175
return arg_usage_t::input;
176
if ((arg & (DNNL_ARG_ATTR_ZERO_POINTS | DNNL_ARG_DST))
177
- && !attr()->output_compensations_.has_default_values())
+ && !attr()->output_compensations_.has_default_values()
178
+ && arg != DNNL_ARG_SCRATCHPAD)
179
180
if ((arg == (DNNL_ARG_ATTR_SCALES | DNNL_ARG_SRC_0))
181
&& !attr()->scales_.get(DNNL_ARG_SRC_0).defined())
0 commit comments