From 9a9b4af6c5aee660423d317276a918d898f51cc6 Mon Sep 17 00:00:00 2001 From: Prashanth <43705140+prashanthar2000@users.noreply.github.com> Date: Sat, 5 Aug 2023 13:39:56 +0000 Subject: [PATCH] updated cudnn path (#2843) * updated cudnn path * adding cudnn path * Use same format as command below --------- Co-authored-by: Davis E. King --- dlib/cmake_utils/test_for_cudnn/find_cudnn.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/cmake_utils/test_for_cudnn/find_cudnn.txt b/dlib/cmake_utils/test_for_cudnn/find_cudnn.txt index dd5f14e3f..d5a5c7d57 100644 --- a/dlib/cmake_utils/test_for_cudnn/find_cudnn.txt +++ b/dlib/cmake_utils/test_for_cudnn/find_cudnn.txt @@ -4,7 +4,7 @@ message(STATUS "Looking for cuDNN install...") # libraries and also a few other places as well. find_path(cudnn_include cudnn.h HINTS ${CUDA_INCLUDE_DIRS} ENV CUDNN_INCLUDE_DIR ENV CUDNN_HOME - PATHS /usr/local ENV CPATH + PATHS /usr/local /usr/local/cuda ENV CPATH PATH_SUFFIXES include ) get_filename_component(cudnn_hint_path "${CUDA_CUBLAS_LIBRARIES}" PATH)