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

invalid call to clGetExtensionFunctionAddressForPlatform with funcname = "clSetProgramSpecializationConstant" #9964

Open
karolherbst opened this issue Jun 17, 2023 · 0 comments · May be fixed by #15741
Assignees
Labels
bug Something isn't working confirmed

Comments

@karolherbst
Copy link
Contributor

karolherbst commented Jun 17, 2023

The OpenCL plugin tries to fetch a function pointer to the OpenCL core function clSetProgramSpecializationConstant.

However the OpenCL Extension specification does not guarantee, that core functions have to be returned by clSetProgramSpecializationConstant. 1.3. Getting OpenCL API Extension Function Pointers of the OpenCL Extension specification states:

"clGetExtensionFunctionAddressForPlatform may not be be used to query for core (non-extension) functions in OpenCL."

This function was added in OpenCL 2.2 and therefore calling and linking to it directly is the proper way. I'm not away of any extension which adds this or a similar function.

@karolherbst karolherbst added the bug Something isn't working label Jun 17, 2023
@kbenzie kbenzie linked a pull request Oct 18, 2024 that will close this issue
@kbenzie kbenzie self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants