JuliaRandom / RandomNumbers.jl

Random Number Generators for the Julia Language.
https://juliarandom.github.io/RandomNumbers.jl/stable
Other
97 stars 23 forks source link

RNG list to be implemented #1

Open sunoru opened 8 years ago

sunoru commented 8 years ago

As discussed before, I'd like to implement various RNGs in this package. And temporarily they are listed in the following:

Four from Random123:

The xorshift families:

Six from SPRNG

sunoru commented 8 years ago
ChrisRackauckas commented 8 years ago

Philox via Random123 (and others) can be used on a GPU: any way for this to plug in with ArrayFire.jl or CUDArt.jl?

sunoru commented 8 years ago

Hi Chris, thank you for the suggestion.

Yes, I have considered accelerating some RNGs with GPU, but I was trying to write code in pure Julia at first.

Actually I want to make this package have as few requires as possible, and I don't know much about these GPU packages, so currently they are not used. Do you have any idea about which to choose?

ChrisRackauckas commented 8 years ago

You can think about making it a conditional dependency which requires the user to using CUDArt for it to work (and not have it in requires). CUDArt.jl is definitely the way to go for this.

sunoru commented 8 years ago

It sounds a good idea. I will have a try.

kafisatz commented 5 years ago

Here are two additional (fast?) RNGs which may be worth considering: wyhash and lehmer's https://lemire.me/blog/2019/03/19/the-fastest-conventional-random-number-generator-that-can-pass-big-crush/

sunoru commented 5 years ago

@kafisatz thanks, I'll check it out.