[PyCUDA] Problems with Context stack & autoinit

Andreas Klöckner lists at informa.tiker.net
Fri Mar 26 03:29:33 PDT 2010


On Freitag 26 März 2010, Bryan Catanzaro wrote:
> I've attached the trace.  Lines beginning with ---> are added
>  instrumentation that I put in autoinit.py and cuda.hpp.  Also, my
>  workaround has now failed - with some versions of the code the attempt to
>  push a bad context happened in device_allocation::free() - and deleting
>  objects manually helped with that.  But other times it fails in ~module(),
>  and I'm not sure how to bypass that one.

Do you have some short sample code that I could try on Linux?

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20100326/eef6effb/attachment-0001.pgp>


More information about the PyCUDA mailing list