Converse includes support for random number generation using a 64-bit Linear Congruential Generator (LCG). The user can choose between using a supplied default stream shared amonst all chares on the processor, or creating a private stream. Note that there is a limit on the number of private streams, which at the the time of writing was 15,613.
struct CrnStream;
This structure contains the current state of a random number stream. The user is responsible for allocating the memory for this structure.
November 23, 2009
Converse Homepage
Charm Homepage