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

Disable test not supported by SYCL #2468

Merged

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Jan 29, 2025

According to the documentation of the SYCL Group functions 1 and SYCL Group algorithms library 2, calling sycl::all_of_group with some threads having exited the kernel is undefined behaviour. This was confirmed during a support meeting with Intel.

oneAPI has an extension to support non-uniform (sub)groups: sycl_ext_oneapi_non_uniform_groups.
The implementation of the SYCL warp functions should be extended using it; until then, we disable the failing test when using a SYCL back-end and instead print an informational message.

@fwyzard fwyzard added this to the 2.0.0 milestone Jan 29, 2025
@fwyzard fwyzard force-pushed the disable_unsupported_SYCL_tests branch from 637fab2 to db249b5 Compare January 29, 2025 18:29
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that most of these changes are simply due to a different indentation.

@fwyzard fwyzard force-pushed the disable_unsupported_SYCL_tests branch from db249b5 to f89e178 Compare January 29, 2025 18:37
test/unit/warp/src/All.cpp Outdated Show resolved Hide resolved
@SimeonEhrig
Copy link
Member

@fwyzard Change the output function to WARN and the PR is ready for merging. Did you open an issue about fixing the test?

@fwyzard fwyzard force-pushed the disable_unsupported_SYCL_tests branch from f89e178 to b68618e Compare January 30, 2025 12:07
@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 30, 2025

@fwyzard Change the output function to WARN and the PR is ready for merging.

Done

Did you open an issue about fixing the test?

No, I haven't.

@fwyzard fwyzard requested a review from SimeonEhrig January 30, 2025 12:09
@SimeonEhrig
Copy link
Member

No, I haven't.

If you don't want to solve in near time, it would be good if you open one with the description of this PR. Personally I prefer open issues for existing problem than looking in comments of closed pull requests.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jan 30, 2025

it would be good if you open one with the description of this PR

#2470

@fwyzard fwyzard merged commit edd3b6f into alpaka-group:develop Jan 30, 2025
25 checks passed
@fwyzard fwyzard deleted the disable_unsupported_SYCL_tests branch January 30, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants