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

MKL 10 DLL issues

postaquestion
Beginner
317 Views

My issue is the same as the issue above.

0 Kudos
2 Replies
jrivers2008
Beginner
317 Views

I am using a 32 bit Windows machine with Visual Studio 2005 with the intel C++ compiler and MKL 10.
I am creating a dll of my code which uses the fftw wrapper for the intel ffts and vector math functions of MKL. I also use
all of the MKL memory functions such as mkl_free,mkl_malloc.When I run my program as a stand alone executable, it runs perfectly and frees all memory.. When I compile into a dll and call from another project, the memory allocated in my created dll is not being released.

Any ideas?

0 Kudos
Todd_R_Intel
Employee
317 Views
No ideas come immediately to mind. You could submit a test case at premier support, or to narrow this down a bit, here are some questions:
  • Does the memory leak occur with malloc/free replacing the MKL versions?
  • Does the leak occur if you remove vector math functions?
  • Does the leak occur if you remove FFTW wrappers?

0 Kudos
Reply