Skip to content
Raul edited this page Dec 4, 2017 · 2 revisions

Xorshift128plus

A xorshift random number generator[1]. One instance of this object is initialized with System, you can access it with sys->rng() and seed it with sys->rng().setSeed(1221312);


[1] https://en.wikipedia.org/wiki/Xorshift#xorshift.2B

fillWithGPU

Fills an iterator with a constant value.
See GPUUtils.cuh. This function should be used instead of cudaMemset, as it is much faster and flexible.

copyGPU

Copies an input iterator onto an output iterator.
See GPUUtils.cuh.









Clone this wiki locally