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] Sort platforms in platform::get_platforms() #12719

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

aelovikov-intel
Copy link
Contributor

So that the first one would contain the most preferrable device in case SYCL applications/library performs manual device selection and defaults to the first available device.

So that the first one would contain the most preferrable device in case
SYCL applications/library performs manual device selection and defaults
to the first available device.
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!

@steffenlarsen steffenlarsen merged commit feb7722 into intel:sycl Feb 21, 2024
11 checks passed
@aelovikov-intel aelovikov-intel deleted the sort-platforms branch February 21, 2024 16:38
aelovikov-intel added a commit to aelovikov-intel/llvm that referenced this pull request Feb 23, 2024
Started to fail in post commit after
intel#12719. This looks like a pre-existing
bug in the test so I'm going to temporarily disable the test instead of
reverting. Will work on the fix with highest priority after that.
steffenlarsen pushed a commit that referenced this pull request Feb 23, 2024
Started to fail in post commit after
#12719. This looks like a pre-existing
bug in the test so I'm going to temporarily disable the test instead of
reverting. Will work on the fix with highest priority after that.
aelovikov-intel added a commit to aelovikov-intel/llvm that referenced this pull request Feb 26, 2024
…ntel#12719)"

This commit reverts the functional change because device filtering
accesses plugins directly and not through the get_platforms() interface
resulting in inconsistent device numbering. Test bug-fixes from the PR
are not being reverted though.
aelovikov-intel added a commit that referenced this pull request Feb 27, 2024
…12719)" (#12823)

This commit reverts the functional change because device filtering
accesses plugins directly and not through the get_platforms() interface
resulting in inconsistent device numbering. Test bug-fixes from the PR
are not being reverted though.
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.

2 participants