From 9793a0b6a6e26816a089dfaa65a3cf7a37f1e693 Mon Sep 17 00:00:00 2001 From: sneaxiy Date: Mon, 7 Jan 2019 18:52:21 +0800 Subject: [PATCH] fix_cudnn_compatible_check --- paddle/fluid/platform/device_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/platform/device_context.cc b/paddle/fluid/platform/device_context.cc index be7f4949d65..09f3d3de54e 100644 --- a/paddle/fluid/platform/device_context.cc +++ b/paddle/fluid/platform/device_context.cc @@ -292,7 +292,7 @@ CUDADeviceContext::CUDADeviceContext(CUDAPlace place) if (dynload::HasCUDNN()) { auto local_cudnn_version = cudnn_dso_ver / 100; auto compile_cudnn_version = CUDNN_VERSION / 100; - if (local_cuda_version < compile_cuda_version) { + if (local_cudnn_version < compile_cudnn_version) { LOG_FIRST_N(WARNING, 1) << "WARNING: device: " << place_.device << ". The installed Paddle is compiled with CUDNN " -- GitLab