Zac Diggum <[email protected]> writes:

> Sorry, I realize I'v got a lot of questions...
> Here's another one. How can I forcibly release an array if it's no longer 
> needed? How does the allocator/mem pool decide wether to keep an array or to 
> release it? I'm writing an application that processes large complex arrays 
> and device memory is a serious issue.

http://documen.tician.de/pyopencl/runtime.html#pyopencl.MemoryObject.release

array.base_data.release()

Andreas


_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to