Skip to content

Commit

Permalink
CMakeLists.txt Fix for case CUBLAS=ON but BLAS not explicitly ON
Browse files Browse the repository at this point in the history
Address issue #347 reported by @csiefer2
  • Loading branch information
ndellingwood committed Nov 21, 2018
1 parent b26f446 commit 10c2978
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -298,6 +298,10 @@ IF (TPL_ENABLE_MKL)
ENDIF()

IF(${Kokkos_ENABLE_Cuda})
IF (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 10c2978

Please sign in to comment.