Code Monkey home page Code Monkey logo

mcbooster's People

Contributors

aaalvesjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mcbooster's Issues

The usage of fseed doesn't really produce uncorrelated sets of rnd numbers.

Hi,

let me try to explain what I mean:
So when using mcbooster to generate large amounts of random numbers you will need to do it in batches since a GPU has limited memory right? But if you use different seeds, in MCBoster it doesn't really change that much. See here: https://github.com/MultithreadCorner/MCBooster/blob/master/mcbooster/functors/DecayMother.h#L150

The number of collisions depend on the number of events generated. (They grow approx. quadratic)
I propose using an offset rather than the multiplication by "fseed", thus starting at "evt+offset" if I generate a second batch of numbers.

Hope this is somewhat understandable. If not I'll be happy to clearify this more.
Cheers

Parse Error when using the "-e" flag with MCBooster_Example_CUDA_GenerateSample

Followed the installation steps provided and compiled with:
NVCC V7.5.17
Cuda architecture 2.1(2.0)
gcc 4.8.5

All examples seem to run without a problem.
The only error I observed so far is the following:

PARSE ERROR: Argument: -e1000
Couldn't find match for argument

when trying to use the -e flag with the binary "MCBooster_Example_CUDA_GenerateSample"

unnecessary If statement in EvaluateArray?

If I am not mistaken, can't we get ride of these lines?

The If statement on line 322 makes sure that this only run for device -> device evaluation. So no need for the lines linked to above right?

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.