From 1eb98e2fef8f9264ed9110569748a7b42ca45eb4 Mon Sep 17 00:00:00 2001 From: Yi Wang Date: Fri, 18 Aug 2017 17:19:14 -0700 Subject: [PATCH] Set the default cuDNN installation path --- cmake/cudnn.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cudnn.cmake b/cmake/cudnn.cmake index 69f40df516..2c84061ff5 100644 --- a/cmake/cudnn.cmake +++ b/cmake/cudnn.cmake @@ -2,7 +2,7 @@ if(NOT WITH_GPU) return() endif() -set(CUDNN_ROOT "" CACHE PATH "CUDNN ROOT") +set(CUDNN_ROOT "/usr" CACHE PATH "CUDNN ROOT") find_path(CUDNN_INCLUDE_DIR cudnn.h PATHS ${CUDNN_ROOT} ${CUDNN_ROOT}/include $ENV{CUDNN_ROOT} $ENV{CUDNN_ROOT}/include ${CUDA_TOOLKIT_INCLUDE} -- GitLab