Skip to content

Conversation

@KornevNikita
Copy link
Contributor

@KornevNikita KornevNikita commented Oct 23, 2025

Wrong order of arguments. Also updating CHECKs to properly verify results.
spec: KhronosGroup/SYCL-Docs#922

Wrong order of arguments
@KornevNikita KornevNikita requested a review from a team as a code owner October 23, 2025 13:02
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.

Good catch! Thanks.
Probably we should have a mode where we would run with a sanitizer or write the test differently to catch issues like these.

@tomdeakin
Copy link
Contributor

WG discussed this, and we should check dst[i] == i instead to have caught this bug.

@KornevNikita
Copy link
Contributor Author

@tomdeakin should I update the patch?

@tomdeakin
Copy link
Contributor

Yes please @KornevNikita !

@KornevNikita
Copy link
Contributor Author

@tomdeakin updated.

@tomdeakin
Copy link
Contributor

WG approved to merge.

@tomdeakin tomdeakin merged commit ac3f03f into KhronosGroup:main Dec 4, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants