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 and modernize the platform extensions test #2172

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bashbaug
Copy link
Contributor

@bashbaug bashbaug commented Dec 8, 2024

This PR fixes the platform extensions test to behave the way I expect it should behave. See discussion: KhronosGroup/OpenCL-Docs#1287

  • If an extension is reported in CL_PLATFORM_EXTENSIONS then it should also be reported in CL_DEVICE_EXTENSIONS.
  • If an extension is reported in CL_DEVICE_EXTENSIONS for all devices then it should also be reported in CL_PLATFORM_EXTENSIONS.

The first commit simply fixes the formatting in this file and can be ignored for easier review.

@bashbaug bashbaug marked this pull request as draft December 8, 2024 20:28
@bashbaug
Copy link
Contributor Author

bashbaug commented Dec 8, 2024

I'll keep this as a draft until the spec issue is resolved.

Platform extensions may be supported by the platform only, without being
supported by devices in the platform.
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