Dear developers,

pyopencl stopped working for me on macos (worked fine before I updated conda 
evn)

$ conda install pyopencl

>>>import pyopencl as cl
>>>cl.get_platforms()
gives: 
LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR

I read this https://documen.tician.de/pyopencl/misc.html#installation 
<https://documen.tician.de/pyopencl/misc.html#installation>. And understand 
that the issue is probably with Khronos ICD Loader? In particular I see no 
“apple.icd” file in my system after installation.
I still have `apple.icd` in conda cache of
/Users/alpxp/miniconda3/pkgs/ocl_icd_wrapper_apple-1.0.0-hbcb3906_0/etc/OpenCL/vendors/apple.icd
but copying it to $CONDA_PREFIX/etc/OpenCL/vendors/apple.icd did not help.

Also:
(main_env) $ clinfo 
Number of platforms                               0

I also found https://gitlab.tiker.net/inducer/pyopencl/-/issues/21 
<https://gitlab.tiker.net/inducer/pyopencl/-/issues/21>, but that issue seem to 
be fixed, so probably not related.

Where should I look?
Thank you
—
Pavel

_______________________________________________
PyOpenCL mailing list -- pyopencl@tiker.net
To unsubscribe send an email to pyopencl-le...@tiker.net

Reply via email to