Skip to content

Commit

Permalink
Add missing dependency on CUBLAS (#10807)
Browse files Browse the repository at this point in the history
This should fix link errors on an ATS2 configuration missing cublas link
symboles (see #10807).
  • Loading branch information
bartlettroscoe committed Jul 29, 2022
1 parent e8a9b49 commit 48a70bc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/kokkos-kernels/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES(
LIB_REQUIRED_PACKAGES KokkosCore KokkosContainers KokkosAlgorithms
LIB_OPTIONAL_TPLS quadmath MKL BLAS LAPACK CUSPARSE MAGMA METIS SuperLU Cholmod LAPACKE CBLAS ARMPL ROCBLAS ROCSPARSE
LIB_OPTIONAL_TPLS quadmath MKL BLAS LAPACK CUSPARSE MAGMA METIS SuperLU Cholmod LAPACKE CBLAS ARMPL ROCBLAS ROCSPARSE CUBLAS
TEST_OPTIONAL_TPLS yaml-cpp
)
# NOTE: If you update names in LIB_OPTIONAL_TPLS above, make sure to map those names in
# the macro 'KOKKOSKERNELS_ADD_TPL_OPTION' that resides in cmake/kokkoskernels_tpls.cmake.
# the macro 'KOKKOSKERNELS_ADD_TPL_OPTION' that resides in cmake/kokkoskernels_tpls.cmake.

if (TPL_ENABLE_CUDA)
tribits_tpl_tentatively_enable(CUBLAS)
endif()

0 comments on commit 48a70bc

Please sign in to comment.