|
|
|
|||
|
About McXtrace Documentation |
A.2 Random generatorsAs of McXtrace 3.x, the default random number generator is a 64-bit adaptation of Marsaglia’s KISS (“Keep It Simple Stupid”) generator, a composite of a linear congruential generator, a xorshift generator, and a multiply-with-carry generator, combined to give a very long period (\(>2^{127}\)) while remaining fast and simple. Crucially, KISS runs identically on both CPU and GPU/OpenACC, which is why it replaced the previously used Mersenne Twister as the default: Mersenne Twister’s large internal state does not parallelize well and is currently not functional for GPU-accelerated simulations. The classic ”Mersenne Twister” generator, by Makoto Matsumoto and Takuji
Nishimura[MN98] (see |
||||
| |||||