Re: [PyCUDA] Error with uint32

2012-02-01 Thread Peter Rösch
I'm as confused as you. Can you go up the call stack and see who made that dtype, and how? Andreas after updating to pycuda-2011.2.2 and pyopencl-2011.2 the message described by Thomas turned up on my Debian squeeze boxes (32 and 64 bit): cuda 4.1 python 2.6.6 numpy 1.4.1 Finally, the

Re: [PyCUDA] Error with uint32

2012-02-01 Thread Thomas Wiecki
Hi Peter, this has been fixed (or rather, worked around at) a little bit more cleanly in the version in the git repo to which you might want to upgrade to. Thomas On Wed, Feb 1, 2012 at 12:28 PM, Peter Rösch peter.roe...@hs-augsburg.de wrote: I'm as confused as you. Can you go up the call

Re: [PyCUDA] Error with uint32

2012-02-01 Thread Peter Roesch
Hi Thomas, thanks a lot for your help. The upgrade you suggested resolved the problem. Peter On Wed, Feb 01, 2012 at 02:55:21PM -0500, Thomas Wiecki wrote: Hi Peter, this has been fixed (or rather, worked around at) a little bit more cleanly in the version in the git repo to which you

Re: [PyCUDA] Error with uint32

2011-12-14 Thread Thomas Wiecki
This is getting very weird. I went into the function with pdb now. np.dtype('uint32') is in DTYPE_TO_NAME but for some reason it fails to look it up: KeyError: dtype('uint32')

Re: [PyCUDA] Error with uint32

2011-12-14 Thread Andreas Kloeckner
On Wed, 14 Dec 2011 09:15:19 -0500, Thomas Wiecki thomas_wie...@brown.edu wrote: This is getting very weird. I went into the function with pdb now. np.dtype('uint32') is in DTYPE_TO_NAME but for some reason it fails to look it up: KeyError: dtype('uint32')

Re: [PyCUDA] Error with uint32

2011-12-14 Thread Thomas Wiecki
1.5.1, the ubuntu oneiric default it seems: http://packages.ubuntu.com/oneiric/python-numpy On Wed, Dec 14, 2011 at 9:33 AM, Andreas Kloeckner li...@informa.tiker.net wrote: On Wed, 14 Dec 2011 09:15:19 -0500, Thomas Wiecki thomas_wie...@brown.edu wrote: This is getting very weird. I went

Re: [PyCUDA] Error with uint32

2011-12-14 Thread Andreas Kloeckner
On Wed, 14 Dec 2011 09:15:19 -0500, Thomas Wiecki thomas_wie...@brown.edu wrote: This is getting very weird. I went into the function with pdb now. np.dtype('uint32') is in DTYPE_TO_NAME but for some reason it fails to look it up: KeyError: dtype('uint32')

[PyCUDA] Error with uint32

2011-12-13 Thread Thomas Wiecki
When running the GPUArray unittest, almost all of them (37/45) fail. The most common error message is: ValueError: unable to map dtype 'uint32' Not sure what the problem is. I am happy to provide the full log on request. Most recent pycuda under kubuntu 11.10.

Re: [PyCUDA] Error with uint32

2011-12-13 Thread Andreas Kloeckner
On Tue, 13 Dec 2011 09:59:18 -0500, Thomas Wiecki thomas_wie...@brown.edu wrote: When running the GPUArray unittest, almost all of them (37/45) fail. The most common error message is: ValueError: unable to map dtype 'uint32' Not sure what the problem is. I am happy to provide the full log

Re: [PyCUDA] Error with uint32

2011-12-13 Thread Andreas Kloeckner
On Tue, 13 Dec 2011 18:24:04 -0500, Thomas Wiecki thomas_wie...@brown.edu wrote: It's the most recent git source. nvidia driver version 280.13. Here is a longer trace: /usr/local/lib/python2.7/dist-packages/pycuda-2011.2.1-py2.7-linux-i686.egg/pycuda/tools.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _