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] Fix no exception thrown for info::device::preferred_interop_user_sync and info::device::profile when the backend is not OpenCL #16171

Open
wants to merge 12 commits into
base: sycl
Choose a base branch
from

Conversation

DYNIO-INTEL
Copy link
Contributor

@DYNIO-INTEL DYNIO-INTEL commented Nov 25, 2024

According to the SYCL 2020 specification, these two info descriptors are supposed to throw an exception when the backend is not OpenCL
info::device::preferred_interop_user_sync
info::device::profile

https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_device_information_descriptors

@DYNIO-INTEL DYNIO-INTEL changed the title [SYCL] Fix for no exception thrown for info::device::preferred_interop_user_sync and info::device::profile [SYCL] Fix no exception thrown for info::device::preferred_interop_user_sync and info::device::profile Nov 25, 2024
@DYNIO-INTEL DYNIO-INTEL marked this pull request as ready for review November 26, 2024 11:09
@DYNIO-INTEL DYNIO-INTEL requested a review from a team as a code owner November 26, 2024 11:09
@DYNIO-INTEL DYNIO-INTEL changed the title [SYCL] Fix no exception thrown for info::device::preferred_interop_user_sync and info::device::profile [SYCL] Fix no exception thrown for info::device::preferred_interop_user_sync and info::device::profile when the backend is not OpenCL Nov 26, 2024
@DYNIO-INTEL
Copy link
Contributor Author

@aelovikov-intel Could you review this PR?

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