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

Remove checks for bitwise group operations on floating point types #719

Conversation

steffenlarsen
Copy link
Contributor

@steffenlarsen steffenlarsen commented Jun 20, 2023

The SYCL 2020 specification defines bitwise operations as being "equivalent" to the binary operators for the given operation. Since the operators are not explicitly defined for float, double or sycl::half the CTS should not test the group operations with these types and bitwise operations. This commit makes that distinction.

The SYCL 2020 specification defines bitwise operations as being
"equivalent" to the binary operators for the given operation. Since the
operators are not explicitly defined for `float`, `double` or
`sycl::half` the CTS should not test the group reductions with these
types and bitwise operations. This commit makes that distinction.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner June 20, 2023 14:27
Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

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

Please, resolve merge conflicts.

@steffenlarsen steffenlarsen changed the title Remove checks for bitwise group reduce on floating point types Remove checks for bitwise group operations on floating point types Jun 22, 2023
@bader bader merged commit 04289af into KhronosGroup:SYCL-2020 Jun 22, 2023
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