]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add comment for keeping FIND_PACKAGE(CUDA)
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 1 Nov 2022 13:06:13 +0000 (13:06 +0000)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 1 Nov 2022 13:06:13 +0000 (13:06 +0000)
cmake/configure/configure_40_cuda.cmake

index f30b68377d5aeca3e45c4b2b80ef01e300eeb035..d7a597d2602965bab00a6c1c1477c4aa3b72427a 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.