Re: [PyCUDA] FFT code gets error only when Python exit

2010-01-07 Thread Andreas Klöckner
On Donnerstag 07 Januar 2010, Ying Wai (Daniel) Fan wrote: I changed cuComplex_mod.h a bit to force the use of complex.h. Looks like the route of using GNU C library does not work. Complex arithmetic operations are regarded as host functions by CUDA and host functions cannot be called from

Re: [PyCUDA] RuntimeError: could not find path to PyCUDA's C header files on Mac OS X Leopard, CUDA 2.3, pyCuda 0.94beta, python 2.5

2010-01-07 Thread Andreas Klöckner
On Donnerstag 07 Januar 2010, Ian Ozsvald wrote: I'm having a devil of a time getting pyCUDA to work on my MacBook and I can't get past this error: host47:examples ian$ python demo.py Traceback (most recent call last): File demo.py, line 22, in module ) File

Re: [PyCUDA] 0.94 woes

2010-01-07 Thread Andreas Klöckner
On Donnerstag 07 Januar 2010, Nicholas S-A wrote: Well, if somebody writes code that uses arch=sm_13 for some reason, then somebody who doesn't have a 200 series card tries to use it, then the error message which comes up is pretty cryptic. Just trying to make it more understandable. It is an

Re: [PyCUDA] My modification to PyCUDA

2010-01-07 Thread Andreas Klöckner
On Mittwoch 30 Dezember 2009, Ying Wai (Daniel) Fan wrote: Andreas, I have done some changes to make arithmetic operation works with complex GPUArray objects. The patch is attached. I don't quite agree with your treatment of the complex scalars. Couple possibilities: 1) We ship a fixed