Karl Czajkowski <karlcz(a)isi.edu> writes:
On Fedora 20 I had good luck using the existing ocl-icd in
yum repo and CL_PRETEND_VERSION = 1.1 as below when building PyOpenCL.
Then, I can switch between Intel, AMD, and NVIDIA backends as a
Note that CL_PRETEND_VERSION only needs to match your OpenCL library
("ICD loader"). PyOpenCL can deal with old ICDs behind new libOpenCLs.