Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/soumith/cudnn.torch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Fomitchev <bfomitchev@nvidia.com>2017-02-23 01:38:19 +0300
committerBoris Fomitchev <bfomitchev@nvidia.com>2017-02-23 01:38:19 +0300
commite69a63bef64c3c84e1077e1f0b591dde999dee25 (patch)
treefab6060594c38eb165ab9e6516b60d54d79f6faa
parent03c6123e19afa4bfaabf87c883eb305b50ddd506 (diff)
Fixed version collision case
-rw-r--r--cmake/FindCUDNN.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindCUDNN.cmake b/cmake/FindCUDNN.cmake
index 14f6b39..b1f7349 100644
--- a/cmake/FindCUDNN.cmake
+++ b/cmake/FindCUDNN.cmake
@@ -62,7 +62,7 @@ function(CUDNN_INSTALL version dest_libdir dest_incdir dest_bindir)
# Download and install CUDNN locally if not found on the system
if(url_arch_name)
- set(download_dir ${CMAKE_CURRENT_BINARY_DIR}/downloads)
+ set(download_dir ${CMAKE_CURRENT_BINARY_DIR}/downloads/cudnn${version})
file(MAKE_DIRECTORY ${download_dir})
set(cudnn_filename cudnn-${CUDA_VERSION}-${url_arch_name}-v${version}.tgz)
set(base_url http://developer.download.nvidia.com/compute/redist/cudnn)