Computers cannot make truly random numbers. For statistical algorithms requiring random numbers, developers need to be careful in parallel code to avoid overlapping sequences from random number generators. Tim discusses different methods to use random number generators - including using independent generators for each thread and the "leap frog method" - to produce "pseudo random numbers" for statistical algorithms that work in parallel code.
Very interesting stuff.
OstapHnatyuk 2 years ago