1 | Parallel random numbers are somewhat nontrivial. |
2 | If have N processors, must have numbers independent within and between processors. |
3 |
See "Solving Problems on Concurrent Processors"
|
4 | One strategy is to have one stream and make every N'th number go to a given processor. This can be done very efficiently as described in reference above. |
5 |
The result is:
|