Open main menu

CDOT Wiki β

Changes

Midnight Tiger

93 bytes added, 17:19, 4 April 2016
How to parallelize your code using Chapel Cray
Iterations in a loop will be executed in parallel if there is no dependency.
* Sample Parallel Code
<pre>
config const n = 10;
forall i in 1..n do
writeln("Iteration #", i," is executed.");
</pre>
 
* Sample Parallel Code Output
 
<pre>
 
</pre>
[[Image:filename|thumb|widthpx| ]]
== Demonstration of Sample Code ==
== Useful Links ==