On Freitag 05 März 2010, Ian Ozsvald wrote:
> 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/c3d5f8178f71271b8689915bc2d1122e
> 0f7b1f52 and then recompiled pyCUDA, deleted the temp kernels directory and
>  ran my tests. The new code and includes are in <site-packages>.

Manual git? I'm impressed. :)

And yes, there was an issue with the public git tree. Fixed now. Sorry
about that.

> 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 :-)

Just played with your Mandelbrot thing--very nice! Thanks for sharing.
Regarding default size: On my 260, 1000x1000 is still below a tenth of a
second. :)

> 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?

Yup, that's what I did--as I said in an earlier message, apparently the
position of '__device__' matters. It needs to be *before* the return
type.

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to