Last week I thought about writing a OpenCL wrapper with Cython. I
spent nearly two days trying to compile PyOpenCL on my 64bit Win 7
system. On the other hand, compiling extensions with cython was always
smooth. I see clear advantages of using cython on maintability (e.g.,
porting to Python 3.1) and easy support for numpy arrays. I whish
existing wrappers would have used cython. I believe it's quite
straightforward, ideally replicating the C++ interface to OpenCL. Now
I managed to compile PyOpenCl, so my efforts are fading away.
I like the idea of clyther very much, to write OpenCL kernels in
python. Clyther is a young project, perhaps cython will rule it out.
On the cython wiki enhancements page there is the proposal to also
support OpenCl as a target language.
Gregor

2010/7/19 Fabrizio Milo aka misto <[email protected]>:
> Hi everyone
>
> I want to explore a bit more the project of bringing support for
> OpenCL to Cython.
> Have been already any discussion about it ? ideas?
>
> As far as I know, starting with a pxi of the standard OpenCL features
> would be a first step.
> And maybe later add support to kernel compilation.
> I the last year I developed mainly in CUDA, but the principles apply
> to OpenCL as well.
>
> Thank you all for the awesome work done for Cython.
>
> Looking forward for feedback
>
> Fabrizio
> ------------------------------------------------------------------------------
> Luck favors the prepared mind. (Pasteur)
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to