From 305964860b325eb25faf4ac05c780a35a1e5763b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 1 Nov 2022 13:06:13 +0000 Subject: [PATCH] add comment for keeping FIND_PACKAGE(CUDA) --- cmake/configure/configure_40_cuda.cmake | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5