Re: [Cython] Anyone for a doc cleanup before the release?

2012-08-08 Thread Dimitri Tcaciuc
Here's my go at it: https://github.com/cython/cython/pull/141 Cheers! Dimitri. On Tue, Aug 7, 2012 at 12:34 AM, Stefan Behnel wrote: > Hi, > > building the documentation currently yields a number of Sphinx warnings: > > https://sage.math.washington.edu:8091/hudson/job/cython-docs/lastSucc

Re: [Cython] Julialang

2012-04-23 Thread Dimitri Tcaciuc
On Mon, Apr 23, 2012 at 10:09 AM, Dimitri Tcaciuc wrote: > I may be misuderstanding the intent here, but here it goes. > > If the main idea is to be able to call functions that are written in > Julia or other languages, I think an effort to create an LLVM backend > for Cython woul

Re: [Cython] Julialang

2012-04-23 Thread Dimitri Tcaciuc
I may be misuderstanding the intent here, but here it goes. If the main idea is to be able to call functions that are written in Julia or other languages, I think an effort to create an LLVM backend for Cython would go a long way towards inter-language connections as the one discussed here. It sho

Re: [Cython] `cdef inline` and typed memory views

2012-04-22 Thread Dimitri Tcaciuc
On Sun, Apr 22, 2012 at 1:20 PM, mark florisson wrote: > On 21 April 2012 20:17, Dimitri Tcaciuc wrote: >> Hey everyone, >> >> Congratulations on shipping 0.16! I think I found a problem which >> seems pretty straight forward. Say I want to factor out inner part of &g

Re: [Cython] `cdef inline` and typed memory views

2012-04-22 Thread Dimitri Tcaciuc
On Sat, Apr 21, 2012 at 2:48 PM, Stefan Behnel wrote: > Dimitri Tcaciuc, 21.04.2012 21:17: >> On a somewhat relevant node, have you considered enabling Issues page on >> Github? > > It was discussed, but the drawback of having two separate bug trackers is > non-negligib

[Cython] `cdef inline` and typed memory views

2012-04-21 Thread Dimitri Tcaciuc
Hey everyone, Congratulations on shipping 0.16! I think I found a problem which seems pretty straight forward. Say I want to factor out inner part of some N^2 loops over a flow array, I write something like cdef inline float _inner(size_t i, size_t j, float[:] x): cdef float d = x[i] - x[j

Re: [Cython] Cython 0.16 and ndarray fields deprecation

2012-03-02 Thread Dimitri Tcaciuc
On Fri, Mar 2, 2012 at 8:29 AM, mark florisson wrote: > On 1 March 2012 16:18, Dag Sverre Seljebotn > wrote: >> On 03/01/2012 04:03 AM, mark florisson wrote: >>> >>> On 29 February 2012 17:57, Dag Sverre Seljebotn >>>  wrote: On 02/29/2012 09:42 AM, Stefan Behnel wrote: > > >>

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-07 Thread Dimitri Tcaciuc
On Tue, Feb 7, 2012 at 5:52 AM, Sturla Molden wrote: > On 05.02.2012 23:39, Dimitri Tcaciuc wrote: > >> 3. Does it make sense to make OpenCL more explicit? > > > No, it takes the usefuness of OpenCL away, which is that kernels are text > strings and compiled at r

Re: [Cython] OpenCL support

2012-02-06 Thread Dimitri Tcaciuc
On Mon, Feb 6, 2012 at 2:21 AM, mark florisson wrote: > On 6 February 2012 07:22, Stefan Behnel wrote: >> mark florisson, 06.02.2012 00:12: >>> On 5 February 2012 22:39, Dimitri Tcaciuc wrote: >>>> 3. Does it make sense to make OpenCL more explicit? Heuristic

Re: [Cython] OpenCL support

2012-02-05 Thread Dimitri Tcaciuc
Mark, Couple of thoughts based on some experience with OpenCL... 1. This may be going outside the proposed purpose, but some algorithms such as molecular simulations can benefit from a fairly large amount of constant data loaded at the beginning of the program and persisted in between invocations

Re: [Cython] distutils extension pxd problem

2012-02-01 Thread Dimitri Tcaciuc
> Date: Thu, 02 Feb 2012 08:11:16 +0100 > From: Stefan Behnel > To: Core developer mailing list of the Cython compiler >         > Subject: Re: [Cython] distutils extension pxd problem > Message-ID: <4f2a3714.7000...@behnel.de> > Content-Type: text/plain; charse

Re: [Cython] distutils extension pxd problem

2012-02-01 Thread Dimitri Tcaciuc
e you're taking the whole include/pxd discovery system or is it staying where it is right now? Dimitri. On Wed, Feb 1, 2012 at 4:53 PM, Dimitri Tcaciuc wrote: > Hey everyone, > > I bumped into an issue where my .pyx file doesn't see its matching > .pxd file. Here's a

[Cython] distutils extension pxd problem

2012-02-01 Thread Dimitri Tcaciuc
Hey everyone, I bumped into an issue where my .pyx file doesn't see its matching .pxd file. Here's a build test to show the problem If I change my target package from `b.a` to just `a`, it works as expected. Running `cython src/a.pyx` works as expected as well, but not the Extension. PYTHON

Re: [Cython] Cannot assign type 'set &' to 'set'

2012-01-15 Thread Dimitri Tcaciuc
s? I completely understand if you guys don't have enough available time to deal with it right now, however at least some acknowledgement and feedback would be much appreciated. Thanks, Dimitri. On Sun, Dec 18, 2011 at 8:17 PM, Dimitri Tcaciuc wrote: > Hello everyone, > > Here'

[Cython] Cannot assign type 'set &' to 'set'

2011-12-18 Thread Dimitri Tcaciuc
Hello everyone, Here's a small test case I'm trying to compile. I'm trying to pass a STL set reference to a method in a template class. x.pyx: from libcpp.set cimport set as cpp_set cdef extern from "x.hh": cdef cppclass Foo [T]: Foo() void set_x(cpp_set