Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
4fac9804
Commit
4fac9804
authored
Mar 04, 2016
by
Daniel Crispell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow user to interactively set CUDNN paths
parent
d7b5fc5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
CMakeLists.txt
dlib/CMakeLists.txt
+3
-0
No files found.
dlib/CMakeLists.txt
View file @
4fac9804
...
@@ -455,6 +455,9 @@ if (NOT TARGET dlib)
...
@@ -455,6 +455,9 @@ if (NOT TARGET dlib)
# linux).
# linux).
list
(
APPEND CUDA_NVCC_FLAGS
"-arch=sm_30;-std=c++11;-D__STRICT_ANSI__"
)
list
(
APPEND CUDA_NVCC_FLAGS
"-arch=sm_30;-std=c++11;-D__STRICT_ANSI__"
)
set
(
CUDNN_INCLUDE_DIR
""
CACHE PATH
"Directory in which to look for cudnn include files"
)
set
(
CUDNN_LIBRARY_DIR
""
CACHE PATH
"Directory in which to look for cudnn library"
)
include
(
dnn/test_for_cudnn/find_cudnn.txt
)
include
(
dnn/test_for_cudnn/find_cudnn.txt
)
if
(
cudnn AND NOT DEFINED cuda_test_compile_worked AND NOT DEFINED cudnn_test_compile_worked
)
if
(
cudnn AND NOT DEFINED cuda_test_compile_worked AND NOT DEFINED cudnn_test_compile_worked
)
...
...
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