Changes

Jump to: navigation, search

Midnight Tiger

127 bytes added, 00:12, 5 April 2016
How to parallelize your code using Chapel Cray
writeln("Thread #", i,"of ", n);
</pre>
 
* Sample Parallel Code Output using '''coforall'''
 
[[Image:coforall.PNG|Output Example]]
* '''begin''': Each begin statement will create a different thread.
* Sample Parallel Code Output using '''begin'''
 
[[Image:begin.PNG|Output Example]]
* '''cobegin''': the each statement in cobegin block will be parallelized.

Navigation menu