1
edit
Changes
→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 ==