16 Aug
2018
16 Aug
'18
11:48 p.m.
PyOpenCL allows one to write kernels for OpenCL in python and uses numpy arrays as the data to pass around. They now use cffi bindings, but are thinking of moving to PyBind11. https://lists.tiker.net/pipermail/pyopencl/2018-August/002395.html They claim 1500 less code lines and a 2x speedup (on cpython). It seems this is a step backwards for us, PyBind11 uses the python c-api to wrap C++ code and I do not see how we can make that JIT freindly. On the other hand, I do not know how easy it is to move form PyBind11 to cppyy. Any thoughts? I used to follow their codebase closely, now I just lurk on the mailing list, and do not use the package myself. Matti