-
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: fix sum with many inputs #2108
generic: sycl: fix sum with many inputs #2108
Conversation
make test |
Thanks @sgeor255 , I am still seeing a lot of failing tests cases failing in the Pre-commit testing for sum.
Here is an example:
Shall this PR fix most of these issues, or are all those different (it seems they all fail by getting NaN in their output, even though it seems fishy to get NaN for s8 output...) |
@sgeor255, thanks for the fix, there is an internal tracker for the bug, can you please update it and put a link to this PR there as well? |
This PR only fixes the issue with the segmentation fault in sum when there are more than 8 inputs which was reproducible by running the sum example in |
Description
This PR fixes an issue in the generic SYCL sum where the
base_prims_
vector was accessed out of bounds because the index variablei
was incremented before the access.Checklist
General
make test
andmake test_benchdnn_*
) pass locally for each commit?