Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
6f46af23
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "296f6892425560c7f2b1f4245d0ab74b44814d23"
Commit
6f46af23
authored
Mar 03, 2016
by
Daniel Crispell
Browse files
Don't include cudnn_include_path until we find it.
parent
4a79d07b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dlib/dnn/test_for_cudnn/CMakeLists.txt
dlib/dnn/test_for_cudnn/CMakeLists.txt
+1
-2
No files found.
dlib/dnn/test_for_cudnn/CMakeLists.txt
View file @
6f46af23
...
...
@@ -3,13 +3,12 @@ cmake_minimum_required(VERSION 2.8.4)
project
(
cudnn_test
)
include
(
../../use_cpp_11.cmake
)
include_directories
(
${
cudnn_include
}
)
find_package
(
CUDA 7.0 REQUIRED
)
set
(
CUDA_HOST_COMPILATION_CPP ON
)
list
(
APPEND CUDA_NVCC_FLAGS
"-arch=sm_30;-std=c++11;-D__STRICT_ANSI__"
)
add_definitions
(
-DDLIB_USE_CUDA
)
include
(
find_cudnn.txt
)
include_directories
(
${
cudnn_include
}
)
cuda_add_library
(
cudnn_test STATIC ../cudnn_dlibapi.cpp
${
cudnn
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment