Ok, I stepped back to my last working master copy from a few days back. I downloaded the raw blobs of your new changes via: http://git.tiker.net/pycuda.git/commitdiff/c3d5f8178f71271b8689915bc2d1122e0f7b1f52 and then recompiled pyCUDA, deleted the temp kernels directory and ran my tests. The new code and includes are in <site-packages>.
My SimpleSpeedTest.py and Mandelbrot.py code compiles cleanly and runs without errors, I can see it using nvcc to compile new copies of the kernels. On first blush it looks as though your edits have fixed the problem, much obliged :-) It looks as though the main changes are removing "_STLP_DECLSPEC" from the .hpp and moving the __device__ declaration closer to the function definition (moving it from before the return-type declaration to after) in the hpp/cpp? Ian. On 5 March 2010 11:18, Ian Ozsvald <i...@ianozsvald.com> wrote: > Is there a problem with git? Or maybe there's an operator error at this end... > > I tried 'git pull' and it didn't get your latest updates. I then moved > my repository and took a fresh copy to a new directory: > git clone http://git.tiker.net/trees/pycuda.git > and there's no mention of the complex support - it looks like things > took a step backwards? > > A git log mentions July 2009: > ----------------------- > C:\Panalytical\pycuda_git\pycuda>git log > commit b1cc795bb73b2241e126d6447c185eae6ba9c904 > Author: Andreas Kloeckner <inf...@tiker.net> > Date: Fri Jul 10 00:25:21 2009 -0400 > > Make sure that running the tests doesn't hide import errors by skipping. > > commit a5d4046a8f1cbf65fbbcda3606ca06b4a7a099fb > Author: Andreas Kloeckner <inf...@tiker.net> > Date: Thu Jul 9 23:59:16 2009 -0400 > > Make py.test a hard dependency. > > commit 7221b4538a07256030af6bf3d9fc8d3815427524 > Author: HendrikRiedmann <riedm...@dam.brown.edu> > Date: Tue Jul 7 22:26:41 2009 -0400 > > Remove explicit dtype argument to [subset_]{min,max}. Document the same. > ----------------------- > > 'git branch' shows just master: > C:\Panalytical\pycuda_git\pycuda>git branch > * master > > How did I manage to roll back in time with a fresh clone of the repo? > > For sanity's sake I've just moved that directory and repeated the > process into a new, fresh directory: > --------------- > C:\Panalytical\pycuda_git>git clone http://git.tiker.net/trees/pycuda.git > Initialized empty Git repository in C:/Panalytical/pycuda_git/pycuda/.git/ > Getting alternates list for http://git.tiker.net/trees/pycuda.git > Getting pack list for http://git.tiker.net/trees/pycuda.git > Getting index for pack d6a0d1788e6fd98829b5a1f6b09994f964834e0d > Getting index for pack f6fc85995dcb6e4ad9c54f03003fda0f19b02582 > Getting index for pack 07f3581de6199480da9c57631b86fbef594d470c > Getting index for pack 239e378cd13ab59b0ca89cff97677c7eba7678b1 > Getting index for pack c1bcec398d9b87c270fe9401dbd56e6f8afc0ccc > Getting index for pack b42cb1c358cd9bbb5fec76decca81120e3ac29b1 > ... > --------------- > but this looks exactly the same (last log msg Jul 2009). > > For now I'll switch back to my backup. All thoughts gladly received > (I'm a git newbie too - did I do something foolish?). > > Ian. > > On 4 March 2010 18:21, Andreas Klöckner <li...@informa.tiker.net> wrote: >> On Donnerstag 04 März 2010, Ian Ozsvald wrote: >>> Scratch the last - the same errors occur with the latest master as >>> listed below. In my haste I didn't remove the already-compiled kernels >>> (I cleared the wrong cache directory <sigh>). >>> >>> The fix is to comment out lines 312 and 457 of pycuda-complex.hpp and >>> recompile, I still get a ton of warning messages (the same declspec >>> ones as below) but I can run my examples. >> >> Try now. (Believe it or not, the warning messages actually helped. It >> appears that the __device__ must appear before the return type to be >> meaningful... maybe...) >> >> Andreas >> > > > > -- > Ian Ozsvald (A.I. researcher, screencaster) > i...@ianozsvald.com > > http://IanOzsvald.com > http://morconsulting.com/ > http://TheScreencastingHandbook.com > http://ProCasts.co.uk/examples.html > http://twitter.com/ianozsvald > -- Ian Ozsvald (A.I. researcher, screencaster) i...@ianozsvald.com http://IanOzsvald.com http://morconsulting.com/ http://TheScreencastingHandbook.com http://ProCasts.co.uk/examples.html http://twitter.com/ianozsvald _______________________________________________ PyCUDA mailing list pyc...@host304.hostmonster.com http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net