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

One random number generator per GPU. #53

Merged
merged 1 commit into from
Oct 9, 2014

Conversation

dominikgrewe
Copy link
Member

Instead of having a single generator shared between GPUs, create a seperate
generator for each GPU. A generator is only initialized when the corresponding
GPU is being used.

Instead of having a single generator shared between GPUs, create a seperate
generator for each GPU. A generator is only initialized when the corresponding
GPU is being used.
@soumith
Copy link
Member

soumith commented Oct 9, 2014

Looks good to me! Thanks.
thumbsupkid

soumith added a commit that referenced this pull request Oct 9, 2014
@soumith soumith merged commit 75f1eb4 into torch:master Oct 9, 2014
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.

None yet

2 participants