Sieve C++ Parallel Programming System: Difference between revisions

Content deleted Content added
Bender the Bot (talk | contribs)
m HTTP → HTTPS for Carnegie Mellon CS, replaced: http://www.cs.cmu.edu/ → https://www.cs.cmu.edu/ (2)
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 15:
==Parallelization and Scalability==
The sieve compiler can split code within a sieve block into chunks either implicitly or explicitly though a 'splithere' statement. For instance, the following example shows parallelizing a loop:
<sourcesyntaxhighlight lang="cpp">
sieve
{
Line 24:
}
}
</syntaxhighlight>
</source>
The compiler will implicitly add a splitpoint above the for loop construct body, as an entry point. Similarly one will be added after as an exit point.