Git Product home page Git Product logo

Comments (7)

sunoru avatar sunoru commented on August 11, 2024
  • PCG families seem to be a nice choice, it's also worth considering.

from randomnumbers.jl.

ChrisRackauckas avatar ChrisRackauckas commented on August 11, 2024

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

from randomnumbers.jl.

sunoru avatar sunoru commented on August 11, 2024

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?

from randomnumbers.jl.

ChrisRackauckas avatar ChrisRackauckas commented on August 11, 2024

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.

from randomnumbers.jl.

sunoru avatar sunoru commented on August 11, 2024

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

from randomnumbers.jl.

kafisatz avatar kafisatz commented on August 11, 2024

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/

from randomnumbers.jl.

sunoru avatar sunoru commented on August 11, 2024

@kafisatz thanks, I'll check it out.

from randomnumbers.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.