Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
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
wenyuanbo
tic
Commits
8a90f877
Commit
8a90f877
authored
Jul 06, 2018
by
Sammy
Committed by
Tianqi Chen
Jul 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing issue #1395: Undefined symbol: cudaGetDevice (#1396)
parent
4dd41ddb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cmake/util/FindCUDA.cmake
+2
-2
No files found.
cmake/util/FindCUDA.cmake
View file @
8a90f877
...
...
@@ -28,11 +28,11 @@ macro(find_cuda use_cuda)
set
(
CUDA_INCLUDE_DIRS
${
CUDA_TOOLKIT_ROOT_DIR
}
/include
)
set
(
CUDA_FOUND TRUE
)
if
(
MSVC
)
find_library
(
CUDA_CUDAT_LIBRARY cudart
find_library
(
CUDA_CUDA
R
T_LIBRARY cudart
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib64
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib
)
else
(
MSVC
)
find_library
(
CUDA_CUDAT_LIBRARY cudart
find_library
(
CUDA_CUDA
R
T_LIBRARY cudart
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib64
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib
)
endif
(
MSVC
)
...
...
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