Content deleted Content added
Line 5:
Sieve is a C++ compiler that will take a section of serial code, which is annotated with sieve markers, and parallelize it automatically. The programmer wraps code they wish to parallelise inside a [[lexical scope]], which is tagged as 'sieve'. Inside this scope, referred to commonly as a 'sieve block', certain rules apply [http://www.codeplay.com/downloads_public/sievepaper-2columns-normal.pdf]:
* All [[Side effect (computer science)|side-effects]] within the sieve block are delayed until the end of the scope.
* Side-effects are defined to be any modifications to data declared
* Only functions annotated with sieve or immediate can be called.
|