Boost logo

Boost :

Subject: Re: [boost] [random] new threefry random engine
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-05-02 01:26:42


On 04/27/2014 05:39 AM, Mathias Gaunard wrote:
> With a single, stateless generator, everything is much simpler. One
> seed, one generator, completely reproducible results regardless of
> scheduling. The interface i want to have is this:
> #pragma omp for
> for(int i=0; i<n; ++i)
> {
> out[i] = in[i] * random_value(i);
> }

The proposed RandomFunction doesn't quite work this
way. It produces random numbers in blocks. (For
instance, the threefry engine that started this thread,
uses a 256-bit block size.)

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at