<?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 CPU sort algorithm in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/CPU-sort-algorithm/m-p/773651#M216</link>
    <description>Hello, &lt;BR /&gt;for SIMD machines (like CPUs) BitonicSort is typically used. Try one from Intel OCL SDK, there is a dedicated sample there.&lt;BR /&gt;&lt;BR /&gt;Also from the general point, the specific sorting algo to select should match the task, e.g. BubbleSort is fastest approachif the input sequence is almost sorted, demostrating O(N). While the same BubbleSort is the sloweset with O(N*N), when the input sequence is simply inversed.&lt;BR /&gt;&lt;BR /&gt;From this side the Bitonic exhibits the same garaunteed complexity of n*log(n) and fits most tasks.</description>
    <pubDate>Mon, 15 Aug 2011 08:28:02 GMT</pubDate>
    <dc:creator>Maxim_S_Intel</dc:creator>
    <dc:date>2011-08-15T08:28:02Z</dc:date>
    <item>
      <title>CPU sort algorithm</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/CPU-sort-algorithm/m-p/773649#M214</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm currently working on the CLPP library (&lt;A href="http://code.google.com/p/clpp/"&gt;http://code.google.com/p/clpp/&lt;/A&gt;) and mainly on the CPU implementation of the 'sort' algorithm.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I currently have a 'special' sort algorithm for the CPU only but after launching the benchmark I have&lt;/DIV&gt;&lt;DIV&gt;see that the std::sort algorithm is faster than the OpenCL one.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, it simply mean that it remain some work to have a really fast sort on the CPU. I would like to know if the Intel Engineers has some councils to give, some papers to reference etc...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;An important part would be use this algorithm on the Sandy Bridge too !&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Krys&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Aug 2011 12:43:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/CPU-sort-algorithm/m-p/773649#M214</guid>
      <dc:creator>Polar01</dc:creator>
      <dc:date>2011-08-09T12:43:52Z</dc:date>
    </item>
    <item>
      <title>CPU sort algorithm</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/CPU-sort-algorithm/m-p/773650#M215</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Which sorting algorithm do you use? There's a lot of literature abouve parallel sorting algorithms and their relative merits.</description>
      <pubDate>Thu, 11 Aug 2011 15:27:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/CPU-sort-algorithm/m-p/773650#M215</guid>
      <dc:creator>Doron_S_Intel</dc:creator>
      <dc:date>2011-08-11T15:27:17Z</dc:date>
    </item>
    <item>
      <title>CPU sort algorithm</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/CPU-sort-algorithm/m-p/773651#M216</link>
      <description>Hello, &lt;BR /&gt;for SIMD machines (like CPUs) BitonicSort is typically used. Try one from Intel OCL SDK, there is a dedicated sample there.&lt;BR /&gt;&lt;BR /&gt;Also from the general point, the specific sorting algo to select should match the task, e.g. BubbleSort is fastest approachif the input sequence is almost sorted, demostrating O(N). While the same BubbleSort is the sloweset with O(N*N), when the input sequence is simply inversed.&lt;BR /&gt;&lt;BR /&gt;From this side the Bitonic exhibits the same garaunteed complexity of n*log(n) and fits most tasks.</description>
      <pubDate>Mon, 15 Aug 2011 08:28:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/CPU-sort-algorithm/m-p/773651#M216</guid>
      <dc:creator>Maxim_S_Intel</dc:creator>
      <dc:date>2011-08-15T08:28:02Z</dc:date>
    </item>
  </channel>
</rss>

