On Thu, 8 Sep 2011 16:28:26 -0700, Matthew Graham <m...@cacr.caltech.edu> wrote: Non-text part: multipart/mixed Non-text part: multipart/alternative > Hi Bryan, > > I'm not sure that I know how to do this properly: is the release > context.pop() or context.detach()? And driver.init()?
You almost certainly want 'pop', because 'detach' will interfere with PyCUDA trying to reattach and properly do cleanup. driver.init() I believe would be a once-per-thread affair. HTH, Andreas
pgpSFGC0v7FA8.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda