-
-
Notifications
You must be signed in to change notification settings - Fork 461
Deterministic Rayon monte carlo example #1236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Sadly, the ST version of this program using ChaCha8 runs in 686ms, whereas the MT version calling For comparison, the MT version without
|
This example doesn't need to be deterministic — in fact, you don't |
Mis-click. ...you don't even discuss determinism here — a little comment would be good. |
It looks like there's a problem with simd on unbuntu-latest. Could it be due to the rayon dep in dev-dependencies, or is that already failing? |
The problem is that
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent documentation, thanks!
It wasn't straightforward to understand how to use Rayon in conjunction with Rand to construct a monte-carlo simulation that
Spawned from this discussion: #399