dapted to cudnn cudnn 8.6
This commit is contained in:
parent
7262ee8ac9
commit
ef814a261a
|
@ -119,7 +119,7 @@ if(ENABLE_GPU AND GPU_BACKEND_CUDA)
|
|||
if(DEFINED ENV{CUDNN_HOME} AND NOT $ENV{CUDNN_HOME} STREQUAL "")
|
||||
set(CUDNN_INCLUDE_DIR $ENV{CUDNN_HOME}/include)
|
||||
if(WIN32)
|
||||
set(CUDNN_LIBRARY_DIR $ENV{CUDNN_HOME}/lib)
|
||||
set(CUDNN_LIBRARY_DIR $ENV{CUDNN_HOME}/lib $ENV{CUDNN_HOME}/lib/x64)
|
||||
else()
|
||||
set(CUDNN_LIBRARY_DIR $ENV{CUDNN_HOME}/lib64)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue