Commit cf3e2992 authored by Fenglei's avatar Fenglei Committed by Robert Kimball

check cudnn version (#1175)

parent 846f6bfe
...@@ -60,8 +60,10 @@ namespace ngraph ...@@ -60,8 +60,10 @@ namespace ngraph
break; break;
case CUDNN_DATA_HALF: case CUDNN_DATA_HALF:
case CUDNN_DATA_INT8x4: case CUDNN_DATA_INT8x4:
#if CUDNN_VERSION >= 7100
case CUDNN_DATA_UINT8: case CUDNN_DATA_UINT8:
case CUDNN_DATA_UINT8x4: case CUDNN_DATA_UINT8x4:
#endif
std::string err = "datatype is not supported by cuDNN"; std::string err = "datatype is not supported by cuDNN";
throw std::runtime_error(err); throw std::runtime_error(err);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment