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

Check that CL_DEVICE_COMPILER_AVAILABLE is CL_TRUE for FULL_PROFILE #1804

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

niranjanjoshi121
Copy link
Contributor

OpenCL FULL profile requires that online compiler be available. OpenCL-CTS currently queries profile as well as online compiler availability via device queries, but doesn't check for the consistency.

Check for consistency that if CL_DEVICE_PROFILE is "FULL_PROFILE" (or technically is not "EMBEDDED_PROFILE") then CL_DEVICE_COMPILER_AVAILABLE is CL_TRUE for that device.

Fixes #1763

OpenCL FULL profile requires that online compiler be available.
OpenCL-CTS currently queries profile as well as online compiler
availability via device queries, but doesn't check for the consistency.

Check for consistency that if CL_DEVICE_PROFILE is "FULL_PROFILE"
(or technically is not "EMBEDDED_PROFILE") then CL_DEVICE_COMPILER_AVAILABLE
is CL_TRUE for that device.

Fixes KhronosGroup#1763
@bashbaug
Copy link
Contributor

bashbaug commented Oct 3, 2023

Merging as discussed in the October 3rd teleconference.

@bashbaug bashbaug merged commit 1fe7287 into KhronosGroup:main Oct 3, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check that CL_DEVICE_COMPILER_AVAILABLE is CL_TRUE for FULL_PROFILE devices
5 participants