Fixes for CuDNN layers: only destroy handles if setup - #1851
Merged
Conversation
shelhamer
added a commit
that referenced
this pull request
Feb 10, 2015
Fix for CuDNN layer tests: only destroy handles if setup
Member
|
Thanks Jeff. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1850 -- layer factory test I added (which constructs and destroys each layer type) with #1694 breaks for CuDNN layers. This fixes that. (I had to do a similar thing for a couple of other layers in #1694 (794cd7f), but wasn't compiling with CuDNN enabled while developing #1694 so didn't see the CuDNN failures.)