<?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 Hi Mario, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Delete-data-fitting-task-seems-to-fail-clearing-internal-memory/m-p/1118028#M24768</link>
    <description>&lt;P&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi Mario,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Data Fitting component of Intel MKL internally relies on use of the Intel MKL memory allocator.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;To improve the performance of the Intel MKL based application, the allocator uses memory pools where buffers can be collected for fast re-use.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;FONT color="#000000" face="Calibri" size="3"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;You should call&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN lang="EN" style="color: rgb(102, 102, 102); font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 10.5pt; mso-ansi-language: EN;"&gt;&lt;SPAN&gt;mkl_free_buffers()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face="Calibri"&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;SPAN lang="EN" style="mso-ansi-language: EN;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;routine, that frees unused memory allocated &amp;nbsp;by the memory allocator, after the last call to the library’s functions.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Please, see additional details on mkl_free_buffers() routine at &lt;/FONT&gt;&lt;A href="https://software.intel.com/en-us/node/522136"&gt;&lt;U&gt;&lt;FONT color="#0563c1" face="Calibri" size="3"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;A href="https://software.intel.com/en-us/node/522136" target="_blank"&gt;https://software.intel.com/en-us/node/522136&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;FONT color="#000000"&gt;&lt;SPAN lang="EN-US" style="font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;You may want to check the status of Intel MKL memory allocator by calling the mkl_mem_stat() routine before and after call the call to mkl_free_buffers() routine.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN lang="EN-US" style="font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Best regards,&lt;BR /&gt;
	Vlad V.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2016 11:35:18 GMT</pubDate>
    <dc:creator>Vladislav_V_Intel</dc:creator>
    <dc:date>2016-10-18T11:35:18Z</dc:date>
    <item>
      <title>Delete data fitting task seems to fail clearing internal memory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Delete-data-fitting-task-seems-to-fail-clearing-internal-memory/m-p/1118027#M24767</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have observed that deleting an interpolation task by dfDeleteTask doesn't affect the number of allocated buffers (using mkl_mem_stat). Is this an expected behaviour? According to the manual of dfDeleteTask I expect the deallocation owned by the task.&lt;/P&gt;

&lt;P&gt;To explain this I have attached code which is an adapted example taken from &lt;A href="https://software.intel.com/en-us/node/522217" target="_blank"&gt;https://software.intel.com/en-us/node/522217&lt;/A&gt;. I have executed the attached example with icpc version 17.0.0.&lt;/P&gt;

&lt;P&gt;Thank you very much for helpful comments.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 08:51:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Delete-data-fitting-task-seems-to-fail-clearing-internal-memory/m-p/1118027#M24767</guid>
      <dc:creator>Mario_K_</dc:creator>
      <dc:date>2016-10-18T08:51:27Z</dc:date>
    </item>
    <item>
      <title>Hi Mario,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Delete-data-fitting-task-seems-to-fail-clearing-internal-memory/m-p/1118028#M24768</link>
      <description>&lt;P&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi Mario,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Data Fitting component of Intel MKL internally relies on use of the Intel MKL memory allocator.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;To improve the performance of the Intel MKL based application, the allocator uses memory pools where buffers can be collected for fast re-use.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;FONT color="#000000" face="Calibri" size="3"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;You should call&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN lang="EN" style="color: rgb(102, 102, 102); font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 10.5pt; mso-ansi-language: EN;"&gt;&lt;SPAN&gt;mkl_free_buffers()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face="Calibri"&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;SPAN lang="EN" style="mso-ansi-language: EN;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;routine, that frees unused memory allocated &amp;nbsp;by the memory allocator, after the last call to the library’s functions.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Please, see additional details on mkl_free_buffers() routine at &lt;/FONT&gt;&lt;A href="https://software.intel.com/en-us/node/522136"&gt;&lt;U&gt;&lt;FONT color="#0563c1" face="Calibri" size="3"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;A href="https://software.intel.com/en-us/node/522136" target="_blank"&gt;https://software.intel.com/en-us/node/522136&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;FONT color="#000000"&gt;&lt;SPAN lang="EN-US" style="font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;You may want to check the status of Intel MKL memory allocator by calling the mkl_mem_stat() routine before and after call the call to mkl_free_buffers() routine.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN lang="EN-US" style="font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Best regards,&lt;BR /&gt;
	Vlad V.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 11:35:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Delete-data-fitting-task-seems-to-fail-clearing-internal-memory/m-p/1118028#M24768</guid>
      <dc:creator>Vladislav_V_Intel</dc:creator>
      <dc:date>2016-10-18T11:35:18Z</dc:date>
    </item>
    <item>
      <title>Hi Vlad,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Delete-data-fitting-task-seems-to-fail-clearing-internal-memory/m-p/1118029#M24769</link>
      <description>&lt;P&gt;Hi Vlad,&lt;/P&gt;

&lt;P&gt;thanks for this useful hint!&lt;/P&gt;

&lt;P&gt;I hoped to use mkl_mem_stat to detect memory leaks in my code. This implies that the information provided by mkl_mem_stat is useless this case.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Mario&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:02:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Delete-data-fitting-task-seems-to-fail-clearing-internal-memory/m-p/1118029#M24769</guid>
      <dc:creator>Mario_K_</dc:creator>
      <dc:date>2016-10-18T14:02:57Z</dc:date>
    </item>
  </channel>
</rss>

