Re: [Cython] memoryview slices can't be None?

2012-02-08 Thread Robert Bradshaw
On Sat, Feb 4, 2012 at 11:39 AM, Dag Sverre Seljebotn wrote: >> >> Block-local declarations are definitely something we want, although I >> think it would require some more (non-trivial) changes to the >> compiler. > > > Note that my proposal was actually not about block-local declarations. > > Bl

Re: [Cython] OpenCL support

2012-02-08 Thread Robert Bradshaw
On Tue, Feb 7, 2012 at 9:58 AM, Sturla Molden wrote: > On 07.02.2012 18:22, Dimitri Tcaciuc wrote: > >> I'm not sure I understand you, maybe you could elaborate on that? > > > OpenCL code is a text string that is compiled when the program runs. So it > can be generated from run-time data. Think of

Re: [Cython] OpenCL support

2012-02-08 Thread Dag Sverre Seljebotn
On 02/05/2012 10:57 PM, mark florisson wrote: Hey, I created a CEP for opencl support: http://wiki.cython.org/enhancements/opencl What do you think? To start with my own conclusion on this, my feel is that it is too little gain, at least for a GPU solution. There's already Theano for trivial

Re: [Cython] OpenCL support

2012-02-08 Thread Dimitri Tcaciuc
On Wed, Feb 8, 2012 at 6:46 AM, Dag Sverre Seljebotn wrote: > On 02/05/2012 10:57 PM, mark florisson wrote: > > I don't really know how good the Intel and AMD CPU drivers are w.r.t. this > -- I have seen the Intel driver emit "vectorizing" and "could not > vectorize", but didn't explore the circum

Re: [Cython] OpenCL support

2012-02-08 Thread mark florisson
On 8 February 2012 14:46, Dag Sverre Seljebotn wrote: > On 02/05/2012 10:57 PM, mark florisson wrote: >> >> Hey, >> >> I created a CEP for opencl support: >> http://wiki.cython.org/enhancements/opencl >> What do you think? > > > To start with my own conclusion on this, my feel is that it is too li

Re: [Cython] OpenCL support

2012-02-08 Thread mark florisson
On 8 February 2012 17:35, Dimitri Tcaciuc wrote: > On Wed, Feb 8, 2012 at 6:46 AM, Dag Sverre Seljebotn > wrote: >> On 02/05/2012 10:57 PM, mark florisson wrote: >> >> I don't really know how good the Intel and AMD CPU drivers are w.r.t. this >> -- I have seen the Intel driver emit "vectorizing"

Re: [Cython] OpenCL support

2012-02-08 Thread Dag Sverre Seljebotn
On 02/08/2012 11:11 PM, mark florisson wrote: On 8 February 2012 14:46, Dag Sverre Seljebotn wrote: On 02/05/2012 10:57 PM, mark florisson wrote: Hey, I created a CEP for opencl support: http://wiki.cython.org/enhancements/opencl What do you think? To start with my own conclusion on this

Re: [Cython] OpenCL support

2012-02-08 Thread Dag Sverre Seljebotn
On 02/09/2012 12:15 AM, Dag Sverre Seljebotn wrote: On 02/08/2012 11:11 PM, mark florisson wrote: On 8 February 2012 14:46, Dag Sverre Seljebotn wrote: On 02/05/2012 10:57 PM, mark florisson wrote: Hey, I created a CEP for opencl support: http://wiki.cython.org/enhancements/opencl What do y