Le 02/03/2016 17:48, Andreas Kloeckner a écrit : > Jesse Hinrichsen <je...@j-apps.com> writes: >> But unfortunately the journey is not yet completed. I am now struggling with >> the ICD loader. /etc/OpenCL/vendors doesn’t exist in my case and I don’t >> have root privileges. >> I found that I can set OPENCL_VENDOR_PATH and or OCL_ICD_VENDORS to point to >> my icd files. But it seems like it doesn’t accept the variables (trying to >> run in C compiled with gcc). > > Unfortunately, only *some* ICD loaders (that's what libOpenCL.so.1 is) > support OCL_ICD_VENDORS. AMD's ICD loader does, as does
I was not aware that AMD's ICD took our envvar :-) > https://github.com/OCL-dev/ocl-icd > > The Nvidia one does not as far as I know. The Nvidia one is to be avoided for other reasons: - it does not support Opencl >= 2.0 - it does not use versionned symbols (that can lead to binary incompatibility latter) Regards, Vincent > Andreas _______________________________________________ PyOpenCL mailing list PyOpenCL@tiker.net https://lists.tiker.net/listinfo/pyopencl