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

[SYCL][E2E] Fix some tests in multi-device mode #13510

Merged
merged 4 commits into from
Jul 11, 2024

Conversation

frasercrmck
Copy link
Contributor

@frasercrmck frasercrmck commented Apr 22, 2024

The atomic tests can be run by multiple SYCL devices, in which case the compiler needs to be told which device the --cuda-gpu-arch parameter applies to. This is done in the same vein as other occurrences of this parameter.

The bfloat16 tests fail on some CPU devices due to a known issue with opaque pointers.

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM!

The atomic tests can be run by multiple SYCL devices, in which case the
compiler needs to be told which device the `--cuda-gpu-arch` parameter
applies to.

The changes to the bfloat16 tests try and restore earlier behaviour,
where the `aspect-ext_oneapi_bfloat16_math_functions` feature was
preventing other devices from running. It also removes RUN lines from a
shared header file (which we don't consider a valid test file) which may
mislead people into thinking it itself is a runnable test.
@JackAKirk JackAKirk self-requested a review April 25, 2024 14:36
@frasercrmck
Copy link
Contributor Author

This is ready for merging, @intel/llvm-gatekeepers, thanks

@martygrant martygrant merged commit 0f0b699 into intel:sycl Jul 11, 2024
14 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.

6 participants