(d/s)potrf_batched has some kind of memory leak

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
vishwakftw
Posts: 9
Joined: Mon Dec 10, 2018 2:32 am

(d/s)potrf_batched has some kind of memory leak

Post by vishwakftw » Fri Dec 28, 2018 9:03 am

Hello,

I seem to have discovered a memory leak in the potrf_batched routines when running the tests for the same routine. The GPU memory used increases with the number of iterations, which is uncharacteristic of other tests like getri, getrf and potrs.

Could someone take a look at this? Thank you in advance.

Steps to identify this issue:
- Build the tests
- Run ./test_dpotrf_batched -n 1000 —batch 10 —niter 100
- Monitor the output of nvidia-smi

Stan Tomov
Posts: 264
Joined: Fri Aug 21, 2009 10:39 pm

Re: (d/s)potrf_batched has some kind of memory leak

Post by Stan Tomov » Fri Dec 28, 2018 1:34 pm

Thank you for reporting it.
The leak has been fixed you can update from bitbucket.

vishwakftw
Posts: 9
Joined: Mon Dec 10, 2018 2:32 am

Re: (d/s)potrf_batched has some kind of memory leak

Post by vishwakftw » Sat Dec 29, 2018 5:16 am

Thank you for looking into this. I can verify that the bug has been fixed in the latest master.

Post Reply