Hi,
I have modified the testing_dgeqrf_mgpu.cpp test file so that it loops multiple times to call the magma_dgeqrf2_mgpu() function (or magma_dgeqrf4(), it doe not change the following issue).
When I run the program, it accumulates memory at the rate of the size of the input matrix (M * N * sizeof(double)) on each iteration.
I cannot find where the leak is happening. I have tested with valgrind and valgrind does not find any memory leak either. Each time I run it though it will freeze when 86% of my physical memory is used. Something is not releasing memory.
I have removed the trace output of magma_dgeqrf2_mgpu() and I comment out the lapck77_dgeqrf() function and use a memcpy to fill the h_R array, but otherwise the code is the same as in magma-1.2.0. I also tried removing use of pinned memory. Still no change in behaviour.
Any help will be appreciated. Code is attached and I have been running it like: ./testing_dgeqrf_mgpu -M 3500 -N 3500 -NGPU 1
System is running 3 x Fermi 2050s, 128GB RAM.
Regards,
Josh.
