Skip to content
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

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

t4c1
Copy link
Contributor

@t4c1 t4c1 commented Oct 4, 2024

Adds some previously missing checks on the SYCL implementations of convolution, deconvolution and softmax.

@t4c1 t4c1 requested a review from a team as a code owner October 4, 2024 08:22
@github-actions github-actions bot added the platform:gpu-generic Codeowner: @oneapi-src/onednn-gpu-generic label Oct 4, 2024
@@ -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())
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@mgouicem
Copy link
Contributor

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 :))

@mgouicem mgouicem merged commit 23914f0 into uxlfoundation:main Oct 14, 2024
14 of 18 checks passed
@vpirogov vpirogov added this to the v3.7 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:gpu-generic Codeowner: @oneapi-src/onednn-gpu-generic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants