Skip to content
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

lcg caching #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

lcg caching #2

wants to merge 3 commits into from

Conversation

DutChen18
Copy link

caching results from next_random so they only compute once, for this to be efficient i also had to change the order in which the seeds are processed.
there is still room for further speed improvements by changing the cache table to use uint32_t and by being just overall more competent in CUDA than i am.

@DutChen18
Copy link
Author

i wrote a program to make sure everything works as expected: https://pastebin.com/PaJhJkYS
we should run this with the existing list of seeds as a control set once it's fully done searching.

@DutChen18
Copy link
Author

there was a bug that caused 0.01% of seeds to be generated incorrectly, should be fixed now and it's also a little faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant