Skip to content

[SYCLCompat] Fix compare_mask implementations and test #16768

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

Merged

Conversation

przemektmalon
Copy link
Contributor

The compare_mask and unordered_compare_mask implementations were placing the results of the comparison operations in the wrong 2-byte segments of the 4-byte output.

The math_compare.cpp test has also been fixed, where the "expected" results were previously incorrect, they now reflect the values returned by the corresponding CUDA math functions.

The `compare_mask` and `unordered_compare_mask` implementations were
placing the results of the comparison operations in the wrong 2-byte
segments of the 4-byte output.

The `math_compare.cpp` test has also been fixed, where the "expected"
results were previously incorrect, they now reflect the values returned
by the corresponding CUDA math functions.
@przemektmalon
Copy link
Contributor Author

@intel/llvm-gatekeepers I believe this can be merged.

@sommerlukas sommerlukas merged commit 80acd9b into intel:sycl Jan 27, 2025
17 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