File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ struct ref_sycl_softmax_fwd_t : public gpu::generic::sycl::primitive_t {
48
48
&& sycl_post_ops_t::post_ops_ok (attr (), true , false )
49
49
&& set_default_formats () == status::success
50
50
&& attr_.set_default_formats (dst_md ()) == status::success
51
- && check_formats (diff_src_md (), diff_dst_md ())
51
+ && check_formats (src_md (), dst_md ())
52
52
&& md_dims_in_range (src_md ());
53
53
54
54
if (!ok) return status::unimplemented;
@@ -111,7 +111,7 @@ struct ref_sycl_softmax_bwd_t : public gpu::generic::sycl::primitive_t {
111
111
&& dst_md ()->data_type == diff_dst_md ()->data_type
112
112
&& attr ()->has_default_values ()
113
113
&& set_default_formats () == status::success
114
- && check_formats (src_md (), dst_md ())
114
+ && check_formats (diff_src_md (), diff_dst_md ())
115
115
&& md_dims_in_range (diff_dst_md ());
116
116
117
117
if (!ok) return status::unimplemented;
You can’t perform that action at this time.
0 commit comments