<?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 Please amend the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008105#M19097</link>
    <description>&lt;P&gt;Please amend the documentation on &lt;SPAN class="kwd"&gt;&lt;EM&gt;mkl_realloc&lt;/EM&gt; by explicitly stating that alignment is preserved. Now it says nothing about the alignment of a new buffer.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2018 09:13:06 GMT</pubDate>
    <dc:creator>Eugene_S_1</dc:creator>
    <dc:date>2018-06-20T09:13:06Z</dc:date>
    <item>
      <title>mkl_realloc alignment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008100#M19092</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	I'm facing a problem probably due to misalignment so I decided to use &lt;STRONG&gt;mkl_*alloc&lt;/STRONG&gt; with Parallel Direct Sparse Solver.&lt;/P&gt;

&lt;P&gt;The solver needs 64byte alignment that is succesfully obtained my &lt;STRONG&gt;mkl_malloc/mkl_calloc&lt;/STRONG&gt; specifying the &lt;EM&gt;alignment&lt;/EM&gt; parameter.&lt;BR /&gt;
	Unfortunately this is not possible with &lt;STRONG&gt;mkl_realloc&lt;/STRONG&gt;: its default is a simple 16byte alignment and nothing can be done to bypass this default behaviour.&lt;BR /&gt;
	Any workaround?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Dario&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 12:20:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008100#M19092</guid>
      <dc:creator>DarioMangoni</dc:creator>
      <dc:date>2015-09-01T12:20:00Z</dc:date>
    </item>
    <item>
      <title>void* mkl_realloc (void *ptr,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008101#M19093</link>
      <description>&lt;P&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;void&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;*&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;mkl_realloc&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="delim" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;void&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;*ptr&lt;/SPAN&gt;&lt;SPAN class="sep" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;size_t&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;size&lt;/SPAN&gt;&lt;SPAN class="delim" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 20px;"&gt;);&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Intel Clear', Verdana, Arial, sans-serif; font-size: 13.3333330154419px; line-height: 16px;"&gt;&amp;nbsp;If&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="parmname" style="font-style: italic; font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 16px;"&gt;ptr&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Intel Clear', Verdana, Arial, sans-serif; font-size: 13.3333330154419px; line-height: 16px;"&gt;&amp;nbsp;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 16px;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Intel Clear', Verdana, Arial, sans-serif; font-size: 13.3333330154419px; line-height: 16px;"&gt;, the function works as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="option" style="font-family: 'Courier New', Courier, monospace; color: rgb(51, 51, 51); font-size: 13.3333330154419px; line-height: 16px;"&gt;mkl_malloc !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2015 12:46:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008101#M19093</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-09-02T12:46:12Z</dc:date>
    </item>
    <item>
      <title>Sorry, maybe I didn't specify</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008102#M19094</link>
      <description>&lt;P&gt;Sorry, maybe I didn't specify that I WANT to reallocate that vector! If I didn't want to, I'd use mkl_malloc!&lt;BR /&gt;
	If I use mkl_realloc to &lt;STRONG&gt;reallocate,&amp;nbsp;&lt;/STRONG&gt;the address is no more 64byte aligned!&lt;/P&gt;

&lt;P&gt;I can create another array with mkl_malloc and then copy the data, but the memory peak (mkl_peak_mem_usage()) is incredibly higher than using mkl_realloc.&lt;/P&gt;

&lt;P&gt;Another question... does mkl_realloc try to "expand" the current array before moving it elsewhere?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2015 13:07:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008102#M19094</guid>
      <dc:creator>DarioMangoni</dc:creator>
      <dc:date>2015-09-02T13:07:53Z</dc:date>
    </item>
    <item>
      <title>thanks for the issue. mkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008103#M19095</link>
      <description>&lt;P&gt;thanks for the issue. mkl_realloc doesn't remember the alignment of the "original" array but it must to keep this alignment. We will fix this into one of the next releases/updates.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 13:50:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008103#M19095</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-09-03T13:50:12Z</dc:date>
    </item>
    <item>
      <title>the problem has been fixed in</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008104#M19096</link>
      <description>&lt;P&gt;the problem has been fixed in MKL v.11.3.1&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 05:36:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008104#M19096</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-02-10T05:36:40Z</dc:date>
    </item>
    <item>
      <title>Please amend the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008105#M19097</link>
      <description>&lt;P&gt;Please amend the documentation on &lt;SPAN class="kwd"&gt;&lt;EM&gt;mkl_realloc&lt;/EM&gt; by explicitly stating that alignment is preserved. Now it says nothing about the alignment of a new buffer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 09:13:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-realloc-alignment/m-p/1008105#M19097</guid>
      <dc:creator>Eugene_S_1</dc:creator>
      <dc:date>2018-06-20T09:13:06Z</dc:date>
    </item>
  </channel>
</rss>

