[PyCUDA] PyCUDA and CherryPy
lists at informa.tiker.net
Sat Sep 10 10:41:47 PDT 2011
On Thu, 8 Sep 2011 16:28:26 -0700, Matthew Graham <mjg at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the PyCUDA