<?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 writing a program with cilk in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/writing-a-program-with-cilk/m-p/742169#M864</link>
    <description>Hello all&lt;BR /&gt;&lt;BR /&gt;I want to move from tests with cilk to an actual program .I would like from someone who has worked in a program with cilk just to explain the procedure( steps ) to follow in order to end up with a cilk program.&lt;BR /&gt;&lt;BR /&gt;What i want to say is in what phase of my program should i import cilk.Should i finish it first as a serial program see that everything is working as expected or should import cilk before the serial program is ready.&lt;BR /&gt;&lt;BR /&gt;Also i saw that i need to be extra careful with exceptions and cilk.In case that i want to use exceptions in my program should i include the exception code from the beggining is the serial program or write them with cilk.&lt;BR /&gt;&lt;BR /&gt;I hope i was clear enough.Im asking because i dont want to start writing code and end up with an ill program and have to start all over again.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Sat, 21 Jul 2012 15:52:34 GMT</pubDate>
    <dc:creator>giannhssdra</dc:creator>
    <dc:date>2012-07-21T15:52:34Z</dc:date>
    <item>
      <title>writing a program with cilk</title>
      <link>https://community.intel.com/t5/Software-Archive/writing-a-program-with-cilk/m-p/742169#M864</link>
      <description>Hello all&lt;BR /&gt;&lt;BR /&gt;I want to move from tests with cilk to an actual program .I would like from someone who has worked in a program with cilk just to explain the procedure( steps ) to follow in order to end up with a cilk program.&lt;BR /&gt;&lt;BR /&gt;What i want to say is in what phase of my program should i import cilk.Should i finish it first as a serial program see that everything is working as expected or should import cilk before the serial program is ready.&lt;BR /&gt;&lt;BR /&gt;Also i saw that i need to be extra careful with exceptions and cilk.In case that i want to use exceptions in my program should i include the exception code from the beggining is the serial program or write them with cilk.&lt;BR /&gt;&lt;BR /&gt;I hope i was clear enough.Im asking because i dont want to start writing code and end up with an ill program and have to start all over again.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 21 Jul 2012 15:52:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/writing-a-program-with-cilk/m-p/742169#M864</guid>
      <dc:creator>giannhssdra</dc:creator>
      <dc:date>2012-07-21T15:52:34Z</dc:date>
    </item>
    <item>
      <title>writing a program with cilk</title>
      <link>https://community.intel.com/t5/Software-Archive/writing-a-program-with-cilk/m-p/742170#M865</link>
      <description>&lt;P&gt;The Intel Cilk Plus documentation for the Intel Composer C/C++ compiler applies to both the Intel and GCC implementations. The chaptertitled&lt;A href="http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/2011Update/cpp/lin/hh_goto.htm#cref_cls/common/cilk_convertcpp.htm"&gt;Convert a C++ Program&lt;/A&gt; lays it out pretty plainly:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start with a &lt;B&gt;correct&lt;/B&gt; serial implementation.&lt;/LI&gt;&lt;LI&gt;Identify regions to be parallelized. Typically you'll use a program like VTune/Amplifier or other profiling tool to find them.&lt;/LI&gt;&lt;LI&gt;Add the Intel Cilk Plus keywords.&lt;/LI&gt;&lt;LI&gt;Run the parallelized program to test for correctness.&lt;/LI&gt;&lt;LI&gt;Correct any race condititions. The Cilkscreen race detector can help you find them, or you can use other tools like VTune/Amplifier.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;And I'll add: Use the Cilkview scalability analyzer to see how well your application will scale as the number of processors increases.&lt;/P&gt;&lt;P&gt;- Barry&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2012 01:30:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/writing-a-program-with-cilk/m-p/742170#M865</guid>
      <dc:creator>Barry_T_Intel</dc:creator>
      <dc:date>2012-07-23T01:30:40Z</dc:date>
    </item>
  </channel>
</rss>

