<?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 Max of every x elements... in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Max-of-every-x-elements/m-p/828453#M5342</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am sure this is possible but my aged brain has so far failed me.&lt;BR /&gt;&lt;BR /&gt;I would like to find the maximum of every n elements of an array, for example if n is 5 then I want the max of a[0 to 4], max of a[5 to 9], max of a[10 to 14] and so on.&lt;BR /&gt;&lt;BR /&gt;I'm doing this quite a lot at times so would like to save some cycles and the planet in the process.&lt;BR /&gt;&lt;BR /&gt;TTFN</description>
    <pubDate>Tue, 07 Sep 2010 13:37:39 GMT</pubDate>
    <dc:creator>hb9drv</dc:creator>
    <dc:date>2010-09-07T13:37:39Z</dc:date>
    <item>
      <title>Max of every x elements...</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Max-of-every-x-elements/m-p/828453#M5342</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am sure this is possible but my aged brain has so far failed me.&lt;BR /&gt;&lt;BR /&gt;I would like to find the maximum of every n elements of an array, for example if n is 5 then I want the max of a[0 to 4], max of a[5 to 9], max of a[10 to 14] and so on.&lt;BR /&gt;&lt;BR /&gt;I'm doing this quite a lot at times so would like to save some cycles and the planet in the process.&lt;BR /&gt;&lt;BR /&gt;TTFN</description>
      <pubDate>Tue, 07 Sep 2010 13:37:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Max-of-every-x-elements/m-p/828453#M5342</guid>
      <dc:creator>hb9drv</dc:creator>
      <dc:date>2010-09-07T13:37:39Z</dc:date>
    </item>
    <item>
      <title>Max of every x elements...</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Max-of-every-x-elements/m-p/828454#M5343</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;IPP library has got a functions ippsMaxIndx which is declared in ipps.h&lt;/P&gt;&lt;P&gt;This function returns the maximum value of the input vector pSrc, and stores the result in pMax.&lt;/P&gt;&lt;P&gt;I hope this function could be helpful for you to find max value in an array.&lt;/P&gt;&lt;P&gt;Below is small example of usage of this function.&lt;/P&gt;&lt;P&gt;Ipp16s src[] = { 1, -2, 3, 8, -6 };&lt;/P&gt;&lt;P&gt;Ipp16s max;&lt;/P&gt;&lt;P&gt;int len = 5;&lt;/P&gt;&lt;P&gt;int indx;&lt;/P&gt;&lt;P&gt;ippsMaxIndx_16s ( src, len, &amp;amp;max, &amp;amp;indx );&lt;/P&gt;&lt;P&gt;result: max = 8 indx = 3&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen Gv&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2010 09:19:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Max-of-every-x-elements/m-p/828454#M5343</guid>
      <dc:creator>Naveen_G_Intel</dc:creator>
      <dc:date>2010-09-08T09:19:03Z</dc:date>
    </item>
    <item>
      <title>Max of every x elements...</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Max-of-every-x-elements/m-p/828455#M5344</link>
      <description>Thanks Naveen, but the calls to ippsMaxIndx_16s would introduce too much overhead. I was rather hoping that there was a function in IPP that would do what I want. I can live without this actually :)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2010 18:35:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Max-of-every-x-elements/m-p/828455#M5344</guid>
      <dc:creator>hb9drv</dc:creator>
      <dc:date>2010-09-09T18:35:56Z</dc:date>
    </item>
  </channel>
</rss>

