-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generic: SYCL: convolution/deconvolution/softmax: add missing checks #2146
Conversation
src/gpu/generic/sycl/ref_softmax.hpp
Outdated
@@ -48,6 +48,7 @@ struct ref_sycl_softmax_fwd_t : public gpu::generic::sycl::primitive_t { | |||
&& sycl_post_ops_t::post_ops_ok(attr(), true, false) | |||
&& set_default_formats() == status::success | |||
&& attr_.set_default_formats(dst_md()) == status::success | |||
&& check_formats(src_md(), dst_md()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe in the backward pass we should check diff_src
, diff_dst
& dst
, src
is not used in the backward pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Could you please resolve the conflict? (I think it is just a matter of adding both checks on scales_dt and algo, but would prefer if you could check :)) |
Adds some previously missing checks on the SYCL implementations of convolution, deconvolution and softmax.