Stay up to dateembedded code automagically updates, each snippet and article has a feed Join Siafoo Now or Learn More

Python bindings for OpenCL

over 6 years ago

A Google query for "OpenCL python bindings" makes it seem that the only option for using OpenCL from Python is the Python-OpenCL library. However the better option, and the one listed on the Khronos OpenCL resource page, is PyOpenCL.

I tried Python-OpenCL but it didn't actually work and there is no documentation... even the auto-generated docs point to missing pages. PyOpenCL on the other hand seems fairly active, well documented, works, and uses Boost::Python. Anyway save yourself an hour and use PyOpenCL.