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

lazy initialization of handles for streams #38

Merged
merged 1 commit into from
Aug 2, 2015
Merged

Conversation

soumith
Copy link
Owner

@soumith soumith commented Aug 2, 2015

earlier, 1024 cudnn handles were initialized at "require 'cudnn'" for streams. this added an overhead of like 300MB or so. Now handles are initialized lazily, as needed. The overhead goes down to less than 1MB

soumith added a commit that referenced this pull request Aug 2, 2015
lazy initialization of handles for streams
@soumith soumith merged commit 5e00fbd into master Aug 2, 2015
@szagoruyko
Copy link
Collaborator

cool, fixed #37

@soumith soumith deleted the lazystreamhandles branch August 2, 2015 14:20
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