Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt Fix for case CUBLAS=ON but BLAS not explicitly ON #348

Merged
merged 2 commits into from
Dec 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ IF (TPL_ENABLE_MKL)
ENDIF()

IF(${Kokkos_ENABLE_Cuda})
IF (NOT KOKKOSKERNELS_ENABLE_TPL_BLAS)
SET(KOKKOSKERNELS_ENABLE_TPL_BLAS ON)
LIST(APPEND TPL_LIST "BLAS")
ENDIF()
# CUBLAS is ON by default when CUDA is enabled
SET(KOKKOSKERNELS_ENABLE_TPL_CUBLAS ON)
# Tribit provides TPL mechanism for CUSPARSE; thus, use it
Expand Down