]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Drop support for CUDA 9.0, 10.0, and 10.1
authorBruno Turcksin <bruno.turcksin@gmail.com>
Wed, 5 Aug 2020 21:56:56 +0000 (21:56 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Fri, 7 Aug 2020 00:59:00 +0000 (00:59 +0000)
cmake/configure/configure_1_cuda.cmake
doc/external-libs/cuda.html

index 788ef1c6ec7710ec4f750932bb2106614f0bd1cc..3dcff923052ddae06ef7480ebeb38b708854181a 100644 (file)
@@ -57,16 +57,16 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var)
     ENDIF()
 
     #
-    # disable CUDA support older than 9.0:
+    # disable CUDA support older than 10.2:
     #
-    IF(CUDA_VERSION_MAJOR VERSION_LESS 9.0)
+    IF(CUDA_VERSION VERSION_LESS 10.2)
       MESSAGE(FATAL_ERROR "\n"
-        "deal.II requires CUDA version 9 or newer."
+        "deal.II requires CUDA version 10.2 or newer."
       )
     ENDIF()
 
     #
-    # CUDA Toolkit 9 and CUDA Toolkit 10 are incompatible with C++17.
+    # CUDA Toolkit 10 is incompatible with C++17.
     # Make sure that deal.II is configured appropriately
     #
     MACRO(_cuda_ensure_feature_off _version _cpp_version_bad _cpp_version_good)
@@ -84,7 +84,6 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var)
       ENDIF()
     ENDMACRO()
 
-    _cuda_ensure_feature_off(9 17 14)
     _cuda_ensure_feature_off(10 17 14)
 
     IF("${DEAL_II_CUDA_FLAGS_SAVED}" MATCHES "-arch[ ]*sm_([0-9]*)")
index 1907e9d638751494818aed75417095d381d720b1..76fc178003217c8d73d2561afcd405f0e6c607fc 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 9.0 and higher. Finally to be able to configure
+      deal.II supports CUDA 10.2 and higher. Finally to be able to configure
       deal.II, you will need CMake 3.9 or higher.
     </p>
 
@@ -31,7 +31,7 @@
         -DDEAL_II_WITH_CUDA=ON
       </pre>
       Depending on you system, this may be enough to get CUDA to work. If
-      you are using CUDA 9 or CUDA 10, you will have to make sure that
+      you are using CUDA 10.2, you will have to make sure that
       C++17 is disabled.
       By default, we try to detect the compute capability of your device
       but you can easily set your own CUDA flags:

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.