<?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 last function executed before cilk runtime ends in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/last-function-executed-before-cilk-runtime-ends/m-p/923917#M13624</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I’m experimenting with cilk runtime code and I was wondering what is the last function executed before cilk runtime ends.&lt;/P&gt;
&lt;P&gt;When I run, for example ./fib 30 in linux, what is the last function that executes in cilk runtime assuming execution went without any problems.&lt;/P&gt;
&lt;P&gt;By last function I mean any code before cilk runtime shuts down properly after ./fib 30 has completed, maybe some sort of cleanup code or some sort of memory free-up or anything in that sort.&lt;/P&gt;
&lt;P&gt;Thanks for the help or any hints.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2013 21:54:35 GMT</pubDate>
    <dc:creator>Haris_R_1</dc:creator>
    <dc:date>2013-09-09T21:54:35Z</dc:date>
    <item>
      <title>last function executed before cilk runtime ends</title>
      <link>https://community.intel.com/t5/Software-Archive/last-function-executed-before-cilk-runtime-ends/m-p/923917#M13624</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I’m experimenting with cilk runtime code and I was wondering what is the last function executed before cilk runtime ends.&lt;/P&gt;
&lt;P&gt;When I run, for example ./fib 30 in linux, what is the last function that executes in cilk runtime assuming execution went without any problems.&lt;/P&gt;
&lt;P&gt;By last function I mean any code before cilk runtime shuts down properly after ./fib 30 has completed, maybe some sort of cleanup code or some sort of memory free-up or anything in that sort.&lt;/P&gt;
&lt;P&gt;Thanks for the help or any hints.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2013 21:54:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/last-function-executed-before-cilk-runtime-ends/m-p/923917#M13624</guid>
      <dc:creator>Haris_R_1</dc:creator>
      <dc:date>2013-09-09T21:54:35Z</dc:date>
    </item>
    <item>
      <title>You're probably looking for _</title>
      <link>https://community.intel.com/t5/Software-Archive/last-function-executed-before-cilk-runtime-ends/m-p/923918#M13625</link>
      <description>&lt;P&gt;You're probably looking for __cilkrts_c_return_from_initial() in scheduler.c.&lt;/P&gt;
&lt;P&gt;Note that the Cilk runtime does not do it's cleanup until __cilkrts_end_cilk() is called.&amp;nbsp;If you're hunting for a leak, adding a call to&amp;nbsp;__cilkrts_end_cilk() is the first thing to try.&amp;nbsp;&amp;nbsp;Our assumption is that you're likely to re-enter a spawning function and we can reuse the data structures, worker threads, etc.&amp;nbsp; Since most applications don't call __cilkrts_end_cilk(), the resources are released by process rundown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Barry&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 01:20:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/last-function-executed-before-cilk-runtime-ends/m-p/923918#M13625</guid>
      <dc:creator>Barry_T_Intel</dc:creator>
      <dc:date>2013-09-10T01:20:50Z</dc:date>
    </item>
  </channel>
</rss>

