Skip to content

Commit

Permalink
kokkoskernels: update CMakeLists.txt
Browse files Browse the repository at this point in the history
When CUBLAS=ON set BLAS=ON if not explicitly enabled.
See kokkos/kokkos-kernels#347
  • Loading branch information
ndellingwood committed Dec 5, 2018
1 parent a153ef1 commit 9b1a3f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/kokkos-kernels/CMakeLists.txt
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 9b1a3f3

Please sign in to comment.