[Beignet] I met heavy memory leaks while using beignet library.

Midori Yakumo macrobull.acg.0 at gmail.com
Wed Nov 12 12:31:08 PST 2014


Thank you, I have rewrite my program in C++ and no memory leak again.

On Wed, Nov 12, 2014 at 3:21 AM, Rebecca N. Palmer <rebecca_palmer at zoho.com>
wrote:

> https://bugs.launchpad.net/ubuntu/+source/pyopencl/+bug/1354086
>
> It may help to wait for one run of the kernel to finish before starting
> the next: for me, repeated pyopencl.enqueue_copy(cq0,bCL.data,aCL.data)
> leaks memory (sometimes ending in a crash, sometimes a whole-system hang)
> but repeated pyopencl.enqueue_copy(cq0,bCL.data,aCL.data).wait() doesn't.
>
> Also note that frequently creating and deleting objects may be slow
> (compared to reusing existing ones) even when it doesn't crash.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20141113/f8ea8eb6/attachment.html>


More information about the Beignet mailing list