From: Daniel Arndt Date: Tue, 1 Nov 2022 13:06:13 +0000 (+0000) Subject: add comment for keeping FIND_PACKAGE(CUDA) X-Git-Tag: v9.5.0-rc1~854^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=305964860b325eb25faf4ac05c780a35a1e5763b;p=dealii.git add comment for keeping FIND_PACKAGE(CUDA) --- diff --git a/cmake/configure/configure_40_cuda.cmake b/cmake/configure/configure_40_cuda.cmake index f30b68377d..d7a597d260 100644 --- a/cmake/configure/configure_40_cuda.cmake +++ b/cmake/configure/configure_40_cuda.cmake @@ -30,6 +30,9 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var) ) SET(${var} FALSE) ELSE() + # FIXME We need to also find and link with cuSolver and cuSparse even though + # relying on Kokkos for linking with Cuda. That's why we keep the code below for now. + # We need to set CUDA_USE_STATIC_CUDA_RUNTIME before FIND_PACKAGE(CUDA) and to # force the value otherwise it is overwritten by FIND_PACKAGE(CUDA) IF(BUILD_SHARED_LIBS)