Skip to content

Commit

Permalink
Merge pull request #348 from kokkos/issue-347
Browse files Browse the repository at this point in the history
CMakeLists.txt Fix for case CUBLAS=ON but BLAS not explicitly ON
  • Loading branch information
ndellingwood committed Dec 5, 2018
2 parents 486dda8 + ade852d commit 7292491
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 7292491

Please sign in to comment.