From 4777aec9be9852656571224f8c1e40620eb0b58c Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Tue, 5 Jun 2018 22:43:14 -0700 Subject: [PATCH] "done" --- paddle/fluid/platform/cudnn_helper.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/paddle/fluid/platform/cudnn_helper.h b/paddle/fluid/platform/cudnn_helper.h index 0f4a7c8485b..3d230bd0d8a 100644 --- a/paddle/fluid/platform/cudnn_helper.h +++ b/paddle/fluid/platform/cudnn_helper.h @@ -68,6 +68,14 @@ inline const char* cudnnGetErrorString(cudnnStatus_t status) { } \ } while (false) +#if CUDNN_VERSION < 6000 +#pragma message "CUDNN version under 6.0 is supported at best effort." +#pragma message "We strongly encourage you to move to 6.0 and above." +#pragma message "This message is intended to annoy you enough to update." +#pragma message \ + "please see https://docs.nvidia.com/deeplearning/sdk/cudnn-release-notes/" +#endif // CUDNN_VERSION < 6000 + enum class DataLayout { // Not use kNHWC, kNCHW, -- GitLab