<?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 how about cilk_sort_in_place  in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968916#M23492</link>
    <description>&lt;P&gt;how about cilk_sort_in_place ?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2013 20:38:24 GMT</pubDate>
    <dc:creator>Dave_O_</dc:creator>
    <dc:date>2013-10-29T20:38:24Z</dc:date>
    <item>
      <title>cilk_sort</title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968915#M23491</link>
      <description>&lt;P&gt;hi&lt;/P&gt;
&lt;P&gt;I understand cilk_sort is parallized across shared memory multicores?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What sorting algorithm does it use: quicksort, insertions sort, heapsort, etc?&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 20:35:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968915#M23491</guid>
      <dc:creator>Dave_O_</dc:creator>
      <dc:date>2013-10-29T20:35:35Z</dc:date>
    </item>
    <item>
      <title>how about cilk_sort_in_place</title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968916#M23492</link>
      <description>&lt;P&gt;how about cilk_sort_in_place ?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 20:38:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968916#M23492</guid>
      <dc:creator>Dave_O_</dc:creator>
      <dc:date>2013-10-29T20:38:24Z</dc:date>
    </item>
    <item>
      <title>The sort routines in Cilkpub</title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968917#M23493</link>
      <description>&lt;P&gt;The sort routines in Cilkpub are coded in Cilk Plus, and Cilk Plus requires shared memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;cilk_sort_in_place uses a simple in-place parallel quicksort algorithm.&lt;BR /&gt;&amp;nbsp;cilk_sort uses a parallel sample sort algorithm.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code in Cilkpub for sorting is derived from the code used for the book "Structured Parallel Programming,"&amp;nbsp;so you can find more details in the relevant chapters.&amp;nbsp;&amp;nbsp; &lt;A href="http://parallelbook.com/"&gt;http://parallelbook.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 21:29:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968917#M23493</guid>
      <dc:creator>Jim_S_Intel</dc:creator>
      <dc:date>2013-10-29T21:29:19Z</dc:date>
    </item>
    <item>
      <title>The book covers parallel</title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968918#M23494</link>
      <description>&lt;P&gt;The book covers parallel versions of quicksort, heap sort, and sample sort. &amp;nbsp;The download package "CODE EXAMPLES FROM BOOK" at &amp;nbsp;&lt;A href="http://parallelbook.com/downloads"&gt;http://parallelbook.com/downloads&lt;/A&gt;&amp;nbsp;has the source to all three. &amp;nbsp;For small core counts, parallel quicksort works well, but loses steam because its span (critical path) is O(N), and thus can never do better than O(lg N) speedup on a idealized machine. &amp;nbsp;Parallel heap sort and sample sort both usually scale well, with sample sort often doing better because it has excellent cache behavior.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 02:15:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968918#M23494</guid>
      <dc:creator>ARCH_R_Intel</dc:creator>
      <dc:date>2013-10-30T02:15:10Z</dc:date>
    </item>
    <item>
      <title>ok thanks guys, very helpful</title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968919#M23495</link>
      <description>&lt;P&gt;ok thanks guys, very helpful detail. What then is the difference between cilk_sort_in_place and parallel_for from TBB? My guess is that Thread Building Block (TBB) uses Cilk parallel programming constructs under the hood..(?)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 20:57:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968919#M23495</guid>
      <dc:creator>Dave_O_</dc:creator>
      <dc:date>2013-10-30T20:57:22Z</dc:date>
    </item>
    <item>
      <title>I'm confused.</title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968920#M23496</link>
      <description>&lt;P&gt;I'm confused.&lt;/P&gt;
&lt;P&gt;cilk_sort_in_place is a sort.&amp;nbsp; tbb's &lt;A href="http://www.threadingbuildingblocks.org/docs/help/reference/algorithms/parallel_for_func.htm"&gt;parallel_for&lt;/A&gt; is a parallel for loop.&amp;nbsp; Perhaps you meant to compare parallel_for with cilk_for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; - Barry&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 21:49:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968920#M23496</guid>
      <dc:creator>Barry_T_Intel</dc:creator>
      <dc:date>2013-10-30T21:49:41Z</dc:date>
    </item>
    <item>
      <title>TBB predates Intel's</title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968921#M23497</link>
      <description>&lt;P&gt;TBB predates Intel's implementation of Cilk and does not use Cilk constructs under the hood. &amp;nbsp;TBB's goal is to be a "pure library" solution for parallelism that does not require any special compiler support, whereas Cilk requires compiler support and thus gain the benefits of having such support, notably enabling lower overhead per task and cleaner semantic properties. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;TBB's parallel_sort is a parallel quicksort. &amp;nbsp;I wrote back in the days when Pentium Ds roamed the earth, cores were few, and memory was slow. &amp;nbsp;The in-place nature of parallel quicksort made it a winner in that era. &amp;nbsp;Now that machines have changed, we really should update it. &amp;nbsp;The book download has TBB versions of parallel sample sort and parallel merge sort that are often faster than tbb::parallel_sort. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 22:40:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968921#M23497</guid>
      <dc:creator>ARCH_R_Intel</dc:creator>
      <dc:date>2013-10-30T22:40:38Z</dc:date>
    </item>
    <item>
      <title>Hi </title>
      <link>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968922#M23498</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I Barry, I meant parallel_sort versus cilk_sort_in_place. As Arch D. has stated, cilk is faster since TBB is a cross-plaform library, whereas, cilk is intel-plaform specific (requiring intel compiler) and as such will perform better. - that is my understanding from what Arch D is saying&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 16:16:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cilk-sort/m-p/968922#M23498</guid>
      <dc:creator>Dave_O_</dc:creator>
      <dc:date>2013-10-31T16:16:50Z</dc:date>
    </item>
  </channel>
</rss>

