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

2014-11-12 Thread Midori Yakumo
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 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, repeat

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

2014-11-11 Thread Rebecca N. Palmer
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