<?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 Parallel Quicksort 1.0 is here. in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765283#M48</link>
    <description>&lt;DIV&gt;&lt;BR /&gt;I wrote:&lt;BR /&gt;&amp;gt;It is easy to use parallel quicksort , you can sort strings , &lt;/DIV&gt;&lt;DIV&gt;&amp;gt;integers&amp;nbsp; , reals, doubles etc&lt;/DIV&gt;&lt;DIV&gt;&amp;gt;you can sort even sort then when they are inside objects.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Sorry for the typo, i mean you can even sort them when they are inside objects.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you,&lt;BR /&gt;Amine Moulay Ramdane.&lt;/DIV&gt;</description>
    <pubDate>Fri, 17 Aug 2012 22:03:33 GMT</pubDate>
    <dc:creator>aminer10</dc:creator>
    <dc:date>2012-08-17T22:03:33Z</dc:date>
    <item>
      <title>Parallel Quicksort 1.0 is here.</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765281#M46</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Parallel Quicksort 1.0 is 
here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Description:&lt;BR /&gt;&lt;BR /&gt;Parallel Quicksort that uses my threadpool 
engine.&lt;BR /&gt;&lt;BR /&gt;Parallel Quicksort gave me 3x scaling when sorting strings on a 
quad cores, &lt;BR /&gt;it scales better than the parallel quicksort in the parallelsort 
library..&lt;BR /&gt;&lt;BR /&gt;Please use Lazarus-1.1-38262-fpc-2.6.1 from &lt;BR /&gt;&lt;A href="http://mirrors.iwi.me/lazarus/snapshots"&gt;http://mirrors.iwi.me/lazarus/snapshots&lt;/A&gt; 
/ cause it scales better on this &lt;BR /&gt;version.&lt;BR /&gt;&lt;BR /&gt;Language: FPC Pascal 
v2.2.0+ / Delphi 7+: &lt;A href="http://www.freepascal.org/"&gt;http://www.freepascal.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or 
Lazarus 32 bits or 64 bits from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.iwi.me/lazarus/snapshots/"&gt;http://mirrors.iwi.me/lazarus/snapshots/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Operating 
Systems: Win , Linux and Mac (x86).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can download 
parallelquicksort from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://pages.videotron.com/aminer/"&gt;http://pages.videotron.com/aminer/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank 
you,&lt;BR /&gt;Amine Moulay Ramdane.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2012 21:31:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765281#M46</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2012-08-17T21:31:42Z</dc:date>
    </item>
    <item>
      <title>Parallel Quicksort 1.0 is here.</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765282#M47</link>
      <description>&lt;DIV&gt;&lt;BR /&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;It is easy to use parallel quicksort , you can sort strings , integers&amp;nbsp; 
, reals, doubles etc&lt;BR /&gt;you can sort even sort then when they are inside 
objects.&lt;BR /&gt;&lt;BR /&gt;Here is an example that i gave you inside the zip file, i am 
sorting strings that are inside objects:&lt;BR /&gt;&lt;BR /&gt;:&lt;BR /&gt;---&lt;/DIV&gt;
&lt;DIV&gt;program test;&lt;/DIV&gt;
&lt;DIV&gt;uses parallelquicksort,sysutils,timer;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;type &lt;/DIV&gt;
&lt;DIV&gt;TStudent = Class&lt;BR /&gt;public&lt;BR /&gt;Name: string;&lt;BR /&gt;end;&lt;BR /&gt;&lt;BR /&gt;var 
tab:Ttabpointer;&lt;BR /&gt;myobj:TParallelSort;&lt;BR /&gt;student:TStudent;&lt;BR /&gt;i:integer;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;function comp(Item1, Item2: Pointer): integer;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;begin&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;if TStudent(Item1).name &amp;lt; TStudent(Item2).name &lt;BR /&gt;then &lt;BR /&gt;&amp;nbsp;begin &lt;BR /&gt;&amp;nbsp; 
result:=-1;&lt;BR /&gt;&amp;nbsp; exit;&lt;BR /&gt;&amp;nbsp;end;&lt;/DIV&gt;
&lt;DIV&gt;if TStudent(Item1).name &amp;gt; TStudent(Item2).name &lt;BR /&gt;then &lt;BR /&gt;&amp;nbsp;begin &lt;BR /&gt;&amp;nbsp; 
result:=1;&lt;BR /&gt;&amp;nbsp; exit;&lt;BR /&gt;&amp;nbsp;end;&lt;/DIV&gt;
&lt;DIV&gt;if TStudent(Item1).name = TStudent(Item2).name &lt;BR /&gt;then &lt;BR /&gt;&amp;nbsp;begin&amp;nbsp;&lt;BR /&gt;&amp;nbsp; 
result:=0;&lt;BR /&gt;&amp;nbsp;exit;&lt;BR /&gt;&amp;nbsp;end;&lt;BR /&gt;&lt;BR /&gt;end;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;begin&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;myobj:=TParallelSort.create(4); // set to the number of cores...&lt;/DIV&gt;
&lt;DIV&gt;setlength(tab,100000);&lt;/DIV&gt;
&lt;DIV&gt;for i:=low(tab) to high(tab)&lt;BR /&gt;do&lt;BR /&gt;&amp;nbsp;begin&lt;BR /&gt;&amp;nbsp; 
student:=TStudent.create;&lt;BR /&gt;&amp;nbsp; student.name:= inttostr(i);&lt;BR /&gt;&amp;nbsp; 
tab[high(tab)-i]:= student;&lt;BR /&gt;&amp;nbsp;end;&lt;BR /&gt;&lt;BR /&gt;HPT.Timestart;&lt;/DIV&gt;
&lt;DIV&gt;myobj.pqsort(tab,comp);&lt;/DIV&gt;
&lt;DIV&gt;writeln;&lt;BR /&gt;writeln('Time in microseconds: 
',hpt.TimePeriod);&lt;BR /&gt;&lt;BR /&gt;writeln;&lt;/DIV&gt;
&lt;DIV&gt;writeln('Please press a key to continu...');&lt;/DIV&gt;
&lt;DIV&gt;readln;&lt;/DIV&gt;
&lt;DIV&gt;for i := LOW(tab) to HIGH(Tab) 
&lt;BR /&gt;do&lt;BR /&gt;begin&lt;BR /&gt;&amp;nbsp;writeln(TStudent(tab&lt;I&gt;).name,' ');&lt;BR /&gt;end;&lt;/I&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;for i := 0 to HIGH(Tab) do 
freeandnil(TStudent(tab&lt;I&gt;));&lt;BR /&gt;&lt;BR /&gt;setlength(tab,0);&lt;BR /&gt;myobj.free;&lt;/I&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;end.&lt;/DIV&gt;
&lt;DIV&gt;---&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Amine Moulay Ramdane.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Aug 2012 21:56:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765282#M47</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2012-08-17T21:56:19Z</dc:date>
    </item>
    <item>
      <title>Parallel Quicksort 1.0 is here.</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765283#M48</link>
      <description>&lt;DIV&gt;&lt;BR /&gt;I wrote:&lt;BR /&gt;&amp;gt;It is easy to use parallel quicksort , you can sort strings , &lt;/DIV&gt;&lt;DIV&gt;&amp;gt;integers&amp;nbsp; , reals, doubles etc&lt;/DIV&gt;&lt;DIV&gt;&amp;gt;you can sort even sort then when they are inside objects.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Sorry for the typo, i mean you can even sort them when they are inside objects.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you,&lt;BR /&gt;Amine Moulay Ramdane.&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Aug 2012 22:03:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765283#M48</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2012-08-17T22:03:33Z</dc:date>
    </item>
    <item>
      <title>Will there be a C/C++ version</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765284#M49</link>
      <description>Will there be a C/C++ version?</description>
      <pubDate>Mon, 24 Dec 2012 09:37:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765284#M49</guid>
      <dc:creator>Andrey_Tikhonov</dc:creator>
      <dc:date>2012-12-24T09:37:36Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;Will there be a C/C++</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765285#M50</link>
      <description>&amp;gt;&amp;gt;Will there be a C/C++ version?

&lt;STRONG&gt;Aminer10&lt;/STRONG&gt;, could you follow up, please?

You're doing programming with &lt;STRONG&gt;Pascal&lt;/STRONG&gt; and many of users on Intel forums are using &lt;STRONG&gt;C/C++&lt;/STRONG&gt; and &lt;STRONG&gt;Fortran&lt;/STRONG&gt;.</description>
      <pubDate>Tue, 15 Jan 2013 14:14:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Parallel-Quicksort-1-0-is-here/m-p/765285#M50</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-01-15T14:14:42Z</dc:date>
    </item>
  </channel>
</rss>

