<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic basic_dp_complex_dft_2d.c  has memory leaks in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/basic-dp-complex-dft-2d-c-has-memory-leaks/m-p/828747#M5369</link>
    <description>&lt;DIV&gt;Please try to explicitly free the memory allocated by MKL memory managements by calling&lt;/DIV&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 14px; line-height: 20px;"&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace;" class="option"&gt;mkl_free_buffers&lt;/SPAN&gt;function at the end of your program.&lt;/SPAN&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 17 Sep 2011 17:13:07 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2011-09-17T17:13:07Z</dc:date>
    <item>
      <title>basic_dp_complex_dft_2d.c  has memory leaks</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/basic-dp-complex-dft-2d-c-has-memory-leaks/m-p/828745#M5367</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;First I created a MFC Dialog project, then add "basic_dp_complex_dft_2d.c" to this project, and change "int main(void)" to "int fft_mkl(void)", then call fft_mkl in the MFC App. When the program exited, memory leaks were detected.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Some details is like&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;"&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;The thread 'Win32 Thread' (0x1648) has exited with code 2 (0x2).&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;First-chance exception at 0x7c812afb in testmkl_MFC.exe: 0xA1A01DB2: 0xa1a01db2.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Detected memory leaks!&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Dumping objects -&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;{209} normal block at 0x003BEB18, 512 bytes long.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Data: &amp;lt;        &amp;gt; CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;{208} normal block at 0x02883788, 104 bytes long.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Data: &amp;lt; ;       &amp;gt; 18 EB 3B 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Object dump complete.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;The program '[3496] testmkl_MFC.exe: Native' has exited with code 2 (0x2).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;"&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;When I added&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;"basic_dp_complex_dft_2d.c" to a console program, and memory leaks were not found.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;My MKL version is 10.3.6.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Sep 2011 10:55:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/basic-dp-complex-dft-2d-c-has-memory-leaks/m-p/828745#M5367</guid>
      <dc:creator>wujp1978</dc:creator>
      <dc:date>2011-09-17T10:55:12Z</dc:date>
    </item>
    <item>
      <title>basic_dp_complex_dft_2d.c  has memory leaks</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/basic-dp-complex-dft-2d-c-has-memory-leaks/m-p/828746#M5368</link>
      <description>It is possible that this is a false warning or that the memory leak is of a benign nature. I say this because I have seen similar false alarms from Valgrind and other memory leak detection programs, which often rely upon looking for certain code sequences to detect memory leaks. For example, one such memory leak checker "finds" memory leaks in any program that does Fortran I/O.&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Sep 2011 11:51:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/basic-dp-complex-dft-2d-c-has-memory-leaks/m-p/828746#M5368</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-17T11:51:30Z</dc:date>
    </item>
    <item>
      <title>basic_dp_complex_dft_2d.c  has memory leaks</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/basic-dp-complex-dft-2d-c-has-memory-leaks/m-p/828747#M5369</link>
      <description>&lt;DIV&gt;Please try to explicitly free the memory allocated by MKL memory managements by calling&lt;/DIV&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 14px; line-height: 20px;"&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace;" class="option"&gt;mkl_free_buffers&lt;/SPAN&gt;function at the end of your program.&lt;/SPAN&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Sep 2011 17:13:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/basic-dp-complex-dft-2d-c-has-memory-leaks/m-p/828747#M5369</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-09-17T17:13:07Z</dc:date>
    </item>
  </channel>
</rss>

