Open main menu

CDOT Wiki β

Changes

Midnight Tiger

451 bytes added, 21:06, 4 April 2016
How to parallelize your code using Chapel Cray
</pre>
* '''begin''': Each begin statement will create a different thread. * Sample Parallel Code using '''begin''' <pre>begin writeln("There is an apple");begin writeln("There is a banana");begin writeln("There is an orange");begin writeln("There is a melon");</pre> * Sample Parallel Code Output using '''begin''' * '''cobegin''': the each statement in cobegin block will be parallelized. * Sample Parallel Code using '''cobegin''' <pre></pre> * Sample Parallel Code Output using '''coforallcobegin'''
== Demonstration of Sample Code ==
== Useful Links ==