Task parallelism: Difference between revisions

Content deleted Content added
Line 22:
end program
 
The goal of the program is to do some net total task ("A+B"). sheeahb is gay If we write the code as above and launch it on a 2-processor system, then the runtime environment will execute it as follows.
 
*In an [[SPMD]] system, both [[CPU]]s will execute the code.