Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Memory leak in zgetrf or zgetri on Windows

Бакшеев__Дмитрий
634 Views

Hello,

I suspect I see a memory leak. I attach a reproducer. It does zgetrf + zgetri in a loop, and reports used virtual memory: 

MKL_VERBOSE Intel(R) MKL 2019.0 Update 5 Product build 20190808 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Win 3.50GHz cdecl intel_thread
...

       10000 iterations done, mem        140732732502016
       20000 iterations done, mem        140732651139072
       30000 iterations done, mem        140732568616960
       40000 iterations done, mem        140732488978432
       50000 iterations done, mem        140732408438784
       60000 iterations done, mem        140732328062976
       70000 iterations done, mem        140732246294528
       80000 iterations done, mem        140732166754304
       90000 iterations done, mem        140732085510144
      100000 iterations done, mem        140732004859904
      110000 iterations done, mem        140731923025920
      120000 iterations done, mem        140731842490368
      130000 iterations done, mem        140731760979968
      140000 iterations done, mem        140731680686080
      150000 iterations done, mem        140731600191488
      160000 iterations done, mem        140731518746624
      170000 iterations done, mem        140731438227456
 

Thanks
Dima

0 Kudos
2 Replies
Бакшеев__Дмитрий
634 Views

My first attempt to post seems to be lost

0 Kudos
Shane_S_Intel
Employee
634 Views

Hi Dima, 

We hope all is going well with you and we're happy to see that you're using Intel MKL. We will definitely look into the issue that you reported and get back to you.

Thank you,

Shane

0 Kudos
Reply