Re: [Numpy-discussion] NumPy to CPU+GPU compiler, looking for tests

2012-10-23 Thread Rahul Garg
21, 2012 at 2:57 PM, Rahul Garg rahulgar...@gmail.com wrote: Thanks! I need to add support for eig and inv (will do this week, at least for CPU) but other than that, I should definitely be able to handle those kinds of benchmarks. rahul On Sun, Oct 21, 2012 at 12:01 PM, Aron Ahmadia

Re: [Numpy-discussion] NumPy to CPU+GPU compiler, looking for tests

2012-10-21 Thread Rahul Garg
should come close to or beat that. Hope this helps. Aron On Sun, Oct 21, 2012 at 3:27 PM, Rahul Garg rahulgar...@gmail.com wrote: Hi. I am a PhD student at McGill University and I am developing a compiler for Python for CPUs and GPUs. For CPUs, I build upon LLVM. For GPUs, I generate

Re: [Numpy-discussion] parallel loop annotations

2008-06-21 Thread Rahul Garg
The discussion has moved to : http://wiki.cython.org/enhancements/parallel Quoting Rahul Garg [EMAIL PROTECTED]: Thanks for pointing them out. I will look into both of them. I like the with statement. From an implementation perspective, the with statement looks simpler since the Python parser

Re: [Numpy-discussion] On my Cython/NumPy project

2008-06-21 Thread Rahul Garg
I am very worried about the negative numbers issue. It's the sort of thing that will readily lead to errors, and that produces a significant difference between cython and python. I understand the performance issues that motivate it, but cython really needs to be easy to use or we might as

[Numpy-discussion] parallel loop annotations

2008-06-18 Thread Rahul Garg
Hi. I have been working on a Python to C compiler called unPython (updates coming tomorow). One of the features I want to work on is parallel loop annotations similar to OpenMP for C. Given the multicore revolution, and given the lack of real concurrency in CPython, such a feature will

Re: [Numpy-discussion] parallel loop annotations

2008-06-18 Thread Rahul Garg
will look into ipython's notation. More comments welcome :) thanks, rahul Quoting Stéfan van der Walt [EMAIL PROTECTED]: 2008/6/18 Rahul Garg [EMAIL PROTECTED]: I want to add a similar annotation to Python example usage : pragma parallel for for i in xrange(m): a[i] = b[i]*c[i

[Numpy-discussion] C API : slicing?

2008-05-29 Thread Rahul Garg
Hi. Does the C api have some convenience functions for creating slices? For example : if I have a PyArrayObject *A, which represents lets say a 2d ndarray A in Python, is there a C api function to easily do the equivalent of A[a:b:c,d:e:f] ? thanks, rahul

Re: [Numpy-discussion] Numpy-discussion Digest, Vol 19, Issue 24

2008-04-07 Thread Rahul Garg
Quoting [EMAIL PROTECTED]: What will be the licensing of this project? Do you know yet? I am thinking GPL for the compiler and LGPL for any runtime components which should be similar to GCC. Which version : Version 2 or version 3 of the license is undecided. Will also check with uni to see

[Numpy-discussion] Spyke : moving forward

2008-04-07 Thread Rahul Garg
Thanks everyone for suggestions and enthusiasm. 1. For type declarations moving from string based annotations to decorators for functions. (Function annotations in 3k: Well it should be easy to add them once that feature comes out.) 2. License : Keeping it as GPLv3 for compiler. The runtime

[Numpy-discussion] New project : Spyke python-to-C compiler

2008-04-06 Thread Rahul Garg
Note this message has been posted to numpy-discussion and python-dev. Sorry for the multiple posting but I thought both python devs and numpy users will be interested. If you believe your list should not receive this email, let me know. Also I just wanted to introduce myself since I may ask

Re: [Numpy-discussion] numpy : your experiences?

2007-11-19 Thread Rahul Garg
hi. thanks for ur responses .. so it looks like python/numpy is used more for gluing things together or doing things like postprocessing. is anyone using it for core calculations .. as in long running python calculations? i used numpy myself for some nonlinear dynamics and chaos related

[Numpy-discussion] numpy : your experiences?

2007-11-16 Thread Rahul Garg
Hi. I have been a numpy user myself for some time now (though its my first message on this list). I am trying to do a informal survey for a univ related project .. I am a grad student btw working in comp sci. It would be awesome if you guys could respond to some of the following questions : a)