<?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 MKL memory allocation:  Is there an mkl_realloc? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831178#M5615</link>
    <description>So basically, I would have to write my own remalloc function to replace the standard one. If I wanted to do this, do I only need to make sure that remalloc is assigning chunks in multiples of the byte alignment (for example 16 bytes alignment)?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Blake</description>
    <pubDate>Mon, 16 Jan 2012 22:00:40 GMT</pubDate>
    <dc:creator>bstrouse</dc:creator>
    <dc:date>2012-01-16T22:00:40Z</dc:date>
    <item>
      <title>MKL memory allocation:  Is there an mkl_realloc?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831176#M5613</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I know that dynamic arrays being used by the Intel MKL functions needed to be allocated and deleted by the mkl_malloc and mkl_free. I was wondering if there was an mkl_realloc function provided in case you wanted to attempt and change the amount of memory allocated for a specific address stored inside a pointer.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 12 Jan 2012 21:23:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831176#M5613</guid>
      <dc:creator>bstrouse</dc:creator>
      <dc:date>2012-01-12T21:23:56Z</dc:date>
    </item>
    <item>
      <title>MKL memory allocation:  Is there an mkl_realloc?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831177#M5614</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;MKL only has the malloc functions, and no remalloc functions. mkl_malloc is calling the system malloc function, and it may allocate a little larger memory size, and make sure it can return the aligned the memory address. If you need to have a aligned remalloc function, I think may do something like that with system remalloc system call. &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 02:02:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831177#M5614</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-01-13T02:02:54Z</dc:date>
    </item>
    <item>
      <title>MKL memory allocation:  Is there an mkl_realloc?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831178#M5615</link>
      <description>So basically, I would have to write my own remalloc function to replace the standard one. If I wanted to do this, do I only need to make sure that remalloc is assigning chunks in multiples of the byte alignment (for example 16 bytes alignment)?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Blake</description>
      <pubDate>Mon, 16 Jan 2012 22:00:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831178#M5615</guid>
      <dc:creator>bstrouse</dc:creator>
      <dc:date>2012-01-16T22:00:40Z</dc:date>
    </item>
    <item>
      <title>MKL memory allocation:  Is there an mkl_realloc?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831179#M5616</link>
      <description>&lt;P&gt;Blake,&lt;/P&gt;&lt;P&gt;I just have quick search, in windows, the system runtime library provide the API: _aligned_realloc:&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/y69db7sx(v=VS.71).aspx"&gt;http://msdn.microsoft.com/en-us/library/y69db7sx(v=VS.71).aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2012 07:11:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831179#M5616</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-01-18T07:11:13Z</dc:date>
    </item>
    <item>
      <title>MKL memory allocation:  Is there an mkl_realloc?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831180#M5617</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=21699" class="basic" href="https://community.intel.com/en-us/profile/21699/"&gt;Chao Y (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px; border-style: inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just have quick search, in windows, the system runtime library provide the API: _aligned_realloc:&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/y69db7sx%28v=VS.71%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/y69db7sx(v=VS.71).aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;Then you should use the corresponding Microsoft aligned_malloc and free functions, in case the MKL definitions aren't fully compatible.</description>
      <pubDate>Wed, 18 Jan 2012 12:27:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-memory-allocation-Is-there-an-mkl-realloc/m-p/831180#M5617</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-01-18T12:27:40Z</dc:date>
    </item>
  </channel>
</rss>

