Hi Nadav On Wed, Feb 29, 2012 at 9:36 PM, Nadav Horesh <nadavh.horesh@gmail.com> wrote:
I am working on a simple frame work as a replacement for ndimage.genereic_filter and numeric's neighbourhood iterator (I hope it would be faster and easier to use).
The goal of this PR is to support any backend (including, possibly, the one you are writing). I'd like to provide multiple implementations of some commonly used functions (convolution, e.g.), so that we can have a performance based series of fallbacks, such as GPU -> Cython -> Python. That way, algorithms can be run on any system, but will execute most rapidly on those supporting, say, OpenCL. Another advantage is that if, in the future, we write an even faster implementation, the benefit is immediately available to the user, without rewriting any code. Stéfan