Alexander Kläser <[email protected]> writes: > Thanks a lot for your response! I quickly tried to add the line to > siteconfig.py. I can then import pyopencl successfully, however, I then > get the "platform not found khr" error: > > ==================== > In [2]: import pyopencl > > In [3]: pyopencl.get_platforms() > --------------------------------------------------------------------------- > LogicError Traceback (most recent call last) > <ipython-input-3-2a778713b183> in <module>() > ----> 1 pyopencl.get_platforms() > > LogicError: clGetPlatformIDs failed: platform not found khr > ==================== > > So maybe I should try then AMD's lib or a newer version of ocl-icd. Is > the AMD lib supporting my Intel board with NVIDIA graphic card, as well? > I did not know that?
OpenCL consists of two parts: - libOpenCL.so* - the "ICD loader." This dispatches your calls to different vendor implementations, called "ICDs," for "Installable Client Driver." - The actual ICDs. These are 'registered' by dropping a file with the name of a shared library into /etc/OpenCL/vendors. Each vendor ships an ICD loader and an ICD. In principle, you should be able to use every ICD loader with every ICD. HTH, Andreas _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
