Le 02/03/2016 23:43, Andreas Kloeckner a écrit :
> Vincent Danjean <[email protected]> writes:
> 
>> Le 02/03/2016 17:48, Andreas Kloeckner a écrit :
>>> Jesse Hinrichsen <[email protected]> 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 :-)
> 
> Whoops, you're right. AMD's is OPENCL_VENDOR_PATH.

  I just added support for OPENCL_VENDOR_PATH in ocl-icd (release
2.2.9)
  Note that ocl-icd will still use OCL_ICD_VENDORS in priority
(as it can point to a directory as OPENCL_VENDOR_PATH, but also
directly to a file.icd or even a libicd.so library file) but,
if empty or not set, it will failback to OPENCL_VENDOR_PATH
(and /etc/OpenCL/vendors if the latter is not set itself).

  Regards,
    Vincent

> Andreas
> 


_______________________________________________
PyOpenCL mailing list
[email protected]
https://lists.tiker.net/listinfo/pyopencl

Reply via email to