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

Update checks for sycl::info::device::preferred_interop_user_sync and sycl::info::device::profile in device_info test #992

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

DYNIO-INTEL
Copy link
Contributor

@DYNIO-INTEL DYNIO-INTEL commented Dec 3, 2024

Based on specification https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_device_information_descriptors
sycl::info::device::preferred_interop_user_sync and sycl::info::device::profile info descriptors are supposed to throw an exception when the backend is not OpenCL. This is why checks in device_info.cpp were modified for these specific info device descriptors.

@DYNIO-INTEL DYNIO-INTEL requested a review from a team as a code owner December 3, 2024 16:49
Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

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

It looks like sycl::make_error_code isn't supported by hipSYCL, so we probably should disable checks or the test case for that implementation.

tests/common/common.h Outdated Show resolved Hide resolved
DYNIO-INTEL and others added 2 commits December 4, 2024 15:37
@DYNIO-INTEL
Copy link
Contributor Author

DYNIO-INTEL commented Dec 4, 2024

It looks like sycl::make_error_code isn't supported by hipSYCL, so we probably should disable checks or the test case for that implementation.

I updated code. Could you look at it if it's okay?

@DYNIO-INTEL DYNIO-INTEL requested a review from bader December 4, 2024 15:56
@bader bader requested a review from a team December 5, 2024 02:43
@bader
Copy link
Contributor

bader commented Dec 12, 2024

@KhronosGroup/sycl-cts-reviewers, we need one approve from a person not affiliated with Intel. Could you take a look, please?

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.

3 participants