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

Store scan results by group local ID instead of global ID #804

Merged
merged 6 commits into from
Nov 2, 2023

Conversation

steffenlarsen
Copy link
Contributor

Since sub-group IDs are not required to follow the same ordering as the group, the scan test also needs to consider this when computing the results of the sub-group scan. This commit fixes it so the test makes no ordering assumption about neither group nor sub-group, avoiding both faulty expectations and invalid accesses.

Since sub-group IDs are not required to follow the same ordering as
the group, the scan test also needs to consider this when computing
the results of the sub-group scan. This commit fixes it so the test
makes no ordering assumption about neither group nor sub-group, avoiding
both faulty expectations and invalid accesses.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner September 26, 2023 17:11
@bader bader added the help wanted Extra attention is needed label Sep 26, 2023
@keryell
Copy link
Member

keryell commented Sep 28, 2023

All this code becomes quite convoluted with quite a lot of implicit cognitive burden. Since it might be clear in your brain right now, could you comment the code with the information from the PR plus a lot more :-) so even next week we can understand the code and the context? ;-)

@keryell keryell mentioned this pull request Sep 28, 2023
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen
Copy link
Contributor Author

@keryell - I added some comments. Are these in line with what you were thinking?

Copy link
Member

@keryell keryell left a comment

Choose a reason for hiding this comment

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

Great! Thanks.
I wish there were a lot of comments like these in all the PR. :-)

@bader bader merged commit 19a205b into KhronosGroup:SYCL-2020 Nov 2, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants