Skip to content

Commit

Permalink
Merge pull request NVIDIA#250 from drnikolaev/caffe-0.15-status-code-…
Browse files Browse the repository at this point in the history
…added

Hotfix: New status code for cuDNN v6
  • Loading branch information
drnikolaev authored Oct 3, 2016
2 parents 4628e53 + e1c5420 commit ce08d07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/caffe/util/cudnn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ inline const char* cudnnGetErrorString(cudnnStatus_t status) {
return "CUDNN_STATUS_NOT_SUPPORTED";
case CUDNN_STATUS_LICENSE_ERROR:
return "CUDNN_STATUS_LICENSE_ERROR";
#if CUDNN_VERSION_MIN(6, 0, 1)
case CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING:
return "CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING";
#endif
default:
break;
}
return "Unknown cudnn status";
}
Expand Down

0 comments on commit ce08d07

Please sign in to comment.