Skip to content

Cannot get PyOpenCL installed *with GL sharing* on Linux #554

Discussion options

You must be logged in to vote

Try the following:

Add --cl-pretend-version=2.1 to your configure.py line. Run rm -Rf build to ensure the package actually gets recompiled. Reinstall.

This is needed because (at least at one point) ocl-icd included headers declaring CL 2.2 functions (like clSetProgramSpecializationConstant) but did not actually define them.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AwesomeCronk
Comment options

Answer selected by AwesomeCronk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants