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
b867db0d
Commit
b867db0d
authored
Jun 15, 2018
by
Tatsuya Nishiyama
Committed by
Tianqi Chen
Jun 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing cublas libraries (#1281)
parent
76fa3ca4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Jenkinsfile
+1
-0
cmake/util/FindCUDA.cmake
+6
-0
No files found.
Jenkinsfile
View file @
b867db0d
...
...
@@ -88,6 +88,7 @@ stage('Build') {
mkdir -p build
cd build
cp ../cmake/config.cmake .
echo set\\(USE_CUBLAS ON\\) >> config.cmake
echo set\\(USE_CUDNN ON\\) >> config.cmake
echo set\\(USE_CUDA ON\\) >> config.cmake
echo set\\(USE_OPENGL ON\\) >> config.cmake
...
...
cmake/util/FindCUDA.cmake
View file @
b867db0d
...
...
@@ -50,6 +50,9 @@ macro(find_cuda use_cuda)
find_library
(
CUDA_CUDNN_LIBRARY cudnn
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib/x64
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib/win32
)
find_library
(
CUDA_CUBLAS_LIBRARY cublas
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib/x64
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib/win32
)
else
(
MSVC
)
find_library
(
_CUDA_CUDA_LIBRARY cuda
PATHS
${
CUDA_TOOLKIT_ROOT_DIR
}
...
...
@@ -63,6 +66,9 @@ macro(find_cuda use_cuda)
find_library
(
CUDA_CUDNN_LIBRARY cudnn
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib64
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib
)
find_library
(
CUDA_CUBLAS_LIBRARY cublas
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib64
${
CUDA_TOOLKIT_ROOT_DIR
}
/lib
)
endif
(
MSVC
)
endif
(
CUDA_FOUND
)
endmacro
(
find_cuda
)
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