Skip to content

[SYCL] Throw exception when device does not support queries in sycl_ext_intel_device_info #14788

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

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

lbushi25
Copy link
Contributor

@lbushi25 lbushi25 commented Jul 25, 2024

This PR implements specializations of get_device_info function for the queries defined in sycl_ext_intel_device_info so that when a device does not support the corresponding aspect for a query, an exception is thrown with error code set to errc::feature_not_supported as stipulated in the extension spec.

@lbushi25 lbushi25 marked this pull request as ready for review July 25, 2024 22:11
@lbushi25 lbushi25 requested a review from a team as a code owner July 25, 2024 22:11
@lbushi25 lbushi25 requested a review from againull July 25, 2024 22:11
@againull againull merged commit 14aabdd into intel:sycl Jul 26, 2024
15 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.

2 participants