Open AlexanderZvyagin opened 11 months ago
or maybe into
Model::SetRandomNumberGenerator(std::string name, std::vector<unsigned long long int> data)
if data
is not long enough, complement it with randomly generated data.
union RandomGeneratorState {
curandStateXORWOW g0;
curandStateSobol64_t g1;
curandStateScrambledSobol32_t g2;
curandStateScrambledSobol64_t g3;
curandStateMRG32k3a_t g4;
curandStatePhilox4_32_10_t g5;
} rnd;
data.size()
required for different generators:
Right now it is done with
RandomSeed
variable of typeint
, which needs to be changed intovector<int>
.