Fabrizio Milo aka misto skrev:
> Hi everyone
>
> I want to explore a bit more the project of bringing support for
> OpenCL to Cython.
>   
OpenCL's C API is just a few C functions, none of which are speed 
critical. The speed critical part is the kernel, which is just a text 
string in the program. There is already a PyOpenCL project, which nicely 
maps OpenCL C++ classes to Python objects and NumPy. It is useful from 
Python and Cython alike. You will probably not gain a lot from moving to 
Cython, as the Python overhead is easily amortized.

Sturla


_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to