[PyCUDA] How to manually free GPUarray to avoid leak?

Andreas Klöckner lists at informa.tiker.net
Wed May 5 18:25:22 PDT 2010


On Sonntag 25 April 2010, gerald wrong wrote:
> Can I manually free GPUarray instances? 

In addition to Bogdan's comments (which are more likely to help you with
what you're seeing): If you must free the memory by hand, you can use

ary.gpudata.free()

to do so.

HTH,
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/20100505/bc3a21f2/attachment-0001.pgp>


More information about the PyCUDA mailing list