Skip to content

handle pre-OpenCL 1.2 ICDs #13

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

Open
bashbaug opened this issue Aug 17, 2020 · 0 comments
Open

handle pre-OpenCL 1.2 ICDs #13

bashbaug opened this issue Aug 17, 2020 · 0 comments

Comments

@bashbaug
Copy link
Owner

Currently, the OpenCL Runtime Loader checks for platforms that support the ICD extension by calling clGetExtensionFunctionAddressForPlatform, which is an OpenCL 1.2 function. Consider:

  • Check for OpenCL 1.2 before calling clGetExtensionFunctionAddressForPlatform, in which case only OpenCL 1.2 and newer platforms will be enumerated.
  • Check for the ICD extension in the platform extension string.
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

No branches or pull requests

1 participant