<?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 ippsMalloc question in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785800#M1982</link>
    <description>thank you two, I have more recognized SSE properties now.&lt;BR /&gt;&lt;BR /&gt;just as wiki said :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Data_structure_alignment" target="_blank"&gt;http://en.wikipedia.org/wiki/Data_structure_alignment&lt;/A&gt; , the varible "align" is 32 in IPP.&lt;BR /&gt;&lt;H3 class="r"&gt;&lt;NOBR&gt;&lt;/NOBR&gt; &lt;/H3&gt;</description>
    <pubDate>Wed, 17 Nov 2010 16:00:36 GMT</pubDate>
    <dc:creator>Gaiger_Chen</dc:creator>
    <dc:date>2010-11-17T16:00:36Z</dc:date>
    <item>
      <title>ippsMalloc question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785794#M1976</link>
      <description>&lt;P&gt;I have a fairly fundamental noob question I cant seem to find an answer to. I need to copy portions of one array to another array. Can I do the following, or will it give inconsistant results with aligned memory? Fundamentally, I'm interested in understanding how aligned memory is accessed. And specifically, I am doing an overlap/save convolution where I need to save off a chunk of one vector to be saved and then added to another vector later. Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;int N1 = 200, N2 = 100;&lt;/P&gt;&lt;P&gt;Ipp32f init = 1.0;&lt;/P&gt;&lt;P&gt;Ipp32f* pSrc = ippsMalloc_32f(N1);&lt;/P&gt;&lt;P&gt;Ipp32f* pDst = ippsMalloc_32f(N2);&lt;/P&gt;&lt;P&gt;ippsSet_32f(init, pSrc, N1);&lt;/P&gt;&lt;P&gt;ippsZero_32f(pDst, N2);&lt;/P&gt;&lt;P&gt;// Important question: is this valid?&lt;/P&gt;&lt;P&gt;ippsCopy_32f(pSrc+N2, pDst, N2); //????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2010 17:25:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785794#M1976</guid>
      <dc:creator>jcamin</dc:creator>
      <dc:date>2010-11-15T17:25:19Z</dc:date>
    </item>
    <item>
      <title>ippsMalloc question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785795#M1977</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;IPP memory allocation functions provide you 32-bytes aligned memory buffer in transparent manner. You just got aligned pSrc and pDst pointers. Of course you are able to copy part of this buffer into another place. IPP copy function will process both aligned and unaligned buffers.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir</description>
      <pubDate>Mon, 15 Nov 2010 17:36:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785795#M1977</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2010-11-15T17:36:15Z</dc:date>
    </item>
    <item>
      <title>ippsMalloc question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785796#M1978</link>
      <description>Great, thanks for the quick reply! I hoped that was the case, as my experimental programs indicated such. But I wanted to verify that it wasnt just coincidence.&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2010 19:34:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785796#M1978</guid>
      <dc:creator>jcamin</dc:creator>
      <dc:date>2010-11-15T19:34:05Z</dc:date>
    </item>
    <item>
      <title>ippsMalloc question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785797#M1979</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;May I ask what is the different between ippsMalloc/ippsFree and malloc/free ?&lt;BR /&gt;&lt;BR /&gt;Ipp8u* pBuf = ippsMalloc_8u(8);&lt;BR /&gt;&lt;BR /&gt;ippsFree(pBuf);&lt;BR /&gt;&lt;BR /&gt;is lookly same as &lt;BR /&gt;&lt;BR /&gt;Ipp8u* pBuf = (Ipp8u*)malloc(8*sizeof(Ipp8u));&lt;BR /&gt;
&lt;BR /&gt;
ippsFree(pBuf);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so, why we should use ippsMalloc/ippsFree instead of using standard C funcion ?&lt;BR /&gt;&lt;BR /&gt;Is there bonus beware to using ipp allocating/delocating memory function?&lt;BR /&gt;&lt;BR /&gt;(more fast or always crash when pointer out of bound...etc)&lt;BR /&gt;thank you !!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2010 06:30:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785797#M1979</guid>
      <dc:creator>Gaiger_Chen</dc:creator>
      <dc:date>2010-11-17T06:30:23Z</dc:date>
    </item>
    <item>
      <title>ippsMalloc question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785798#M1980</link>
      <description>so, why we should use ippsMalloc/ippsFree instead of using standard C funcion ?&lt;BR /&gt;Is there bonus beware to using ipp allocating/delocating memory function?&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;That's because of the performance of IPP functions can be significantly different when the operation with aligned or unaligned data...&lt;/DIV&gt;&lt;DIV&gt;Access to memory is faster if pointers to the data are aligned.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Nov 2010 14:44:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785798#M1980</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-11-17T14:44:13Z</dc:date>
    </item>
    <item>
      <title>ippsMalloc question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785799#M1981</link>
      <description>That's right. As Gennady mentioned, IPP memory allocation functions provide 32-bytes aligned buffer. Except that there is no difference between C run time malloc and IPP variant. Moreover, IPP memory allocation internally based on malloc. They just allocate a little bit bigger buffer, and return you 32-bytes aligned pointer inside of this buffer. That is why you need to call IPP memory deallocation functon, which know where the original pointer is located.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir</description>
      <pubDate>Wed, 17 Nov 2010 15:22:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785799#M1981</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2010-11-17T15:22:33Z</dc:date>
    </item>
    <item>
      <title>ippsMalloc question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785800#M1982</link>
      <description>thank you two, I have more recognized SSE properties now.&lt;BR /&gt;&lt;BR /&gt;just as wiki said :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Data_structure_alignment" target="_blank"&gt;http://en.wikipedia.org/wiki/Data_structure_alignment&lt;/A&gt; , the varible "align" is 32 in IPP.&lt;BR /&gt;&lt;H3 class="r"&gt;&lt;NOBR&gt;&lt;/NOBR&gt; &lt;/H3&gt;</description>
      <pubDate>Wed, 17 Nov 2010 16:00:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsMalloc-question/m-p/785800#M1982</guid>
      <dc:creator>Gaiger_Chen</dc:creator>
      <dc:date>2010-11-17T16:00:36Z</dc:date>
    </item>
  </channel>
</rss>

