]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove cuda 8 support
authorTimo Heister <timo.heister@gmail.com>
Thu, 21 May 2020 22:29:47 +0000 (18:29 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 21 May 2020 22:32:38 +0000 (18:32 -0400)
related to #10296

cmake/configure/configure_1_cuda.cmake
doc/external-libs/cuda.html

index 17f0dfb62722cb5a4032496b53aa7ee3ea4b2aa7..8b3a8b3a72e4d08567735dd9fdc44f9975dda194 100644 (file)
@@ -57,7 +57,15 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var)
     ENDIF()
 
     #
-    # CUDA Toolkit 8 is incompatible with C++14,
+    # disable CUDA support older than 9.0:
+    #
+    IF(CUDA_VERSION_MAJOR VERSION_LESS 9)
+      MESSAGE(ERROR "\n"
+        "deal.II requires CUDA version 9 or newer."
+      )
+    ENDIF()
+
+    #
     # CUDA Toolkit 9 and CUDA Toolkit 10 are incompatible with C++17.
     # Make sure that deal.II is configured appropriately
     #
@@ -76,7 +84,6 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var)
         ENDIF()
       ENDIF()
     ENDMACRO()
-    _cuda_ensure_feature_off(8 DEAL_II_WITH_CXX14)
     _cuda_ensure_feature_off(9 DEAL_II_WITH_CXX17)
     _cuda_ensure_feature_off(10 DEAL_II_WITH_CXX17)
 
index 196226354ff556ff20bbb5f8833cb9d99fea98ab..0eb275c7eae04cc2e19ce0b5a733976d4b2915b9 100644 (file)
@@ -20,7 +20,7 @@
       capabilities of newer ones. In order to use CUDA with deal.II, you will
       need your GPU to have compute capability 3.5 or higher. Independently
       from the GPU itself, you also need a version of CUDA recent enough.
-      deal.II supports CUDA 8.0 and higher. Finally to be able to configure
+      deal.II supports CUDA 9.0 and higher. Finally to be able to configure
       deal.II, you will need CMake 3.9 or higher.
     </p>
 
         -DDEAL_II_WITH_CUDA=ON
       </pre>
       Depending on you system, this may be enough to get CUDA to work. If you
-      are using CUDA 8 with gcc 5.4, you will need to turn off support for
-      C++14:
+      are using CUDA 9 or 10, you might need to turn off support for
+      C++17:
       <pre>
 
-        -DDEAL_II_WITH_CXX14=OFF
+        -DDEAL_II_WITH_CXX17=OFF
       </pre>
-      If you are using CUDA 9 or CUDA 10, you will need to turn off support for
-      C++17 similarly.
       By default, we try to detect the compute capability of your device
       but you can easily set your own CUDA flags:
       <pre>

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.