-
Notifications
You must be signed in to change notification settings - Fork 421
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: Filter GPU devices #6758
SYCL: Filter GPU devices #6758
Conversation
6f0f170
to
2389f6e
Compare
https://github.com/pzehner Would you mind having a look if this works for you? |
I tested it successfully on a GPU Max 1550. Everything is good for me. |
Retest this please. |
@dalg24 and I discussed this pull request offline. @dalg24's point of view is:
My point of view is:
We agreed that we should check in the backward initialization that we are given an For reference, on
unsetting that environment variable gives
so everything discussed here only makes a difference if @dalg24 Please correct this comment if I misrepresented something. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would prefer if you applied my suggestions but I am fine with the PR as is if you do not agree with them.
Ignoring HIP ROCm 5.2 failure |
FYI: I've merged intel/llvm#12719 in the SYCL RT for a different take on this issue. |
The discussion in https://kokkosteam.slack.com/archives/C5BGU5NDQ/p1705683106903069 shows that users might accidentally use SYCL backends that we don't actively support. This pull request filters the
sycl::device
s so that only thesycl::backend::ext_oneapi_*
ones are visible if a device architecture is enabled in the configuration.