Changes

Jump to: navigation, search

Midnight Tiger

127 bytes added, 23:12, 4 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