]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Print backends and architectures for Kokkos 14424/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 15 Nov 2022 18:15:10 +0000 (12:15 -0600)
committerDaniel Arndt <arndtd@ornl.gov>
Sat, 19 Nov 2022 00:58:07 +0000 (18:58 -0600)
cmake/setup_write_config.cmake

index 979cbb031ea4dc60b3037e3390ff15debc39ce15..92bd5cae113e2ad7d36aa050059519fed9da64f8 100644 (file)
@@ -225,6 +225,10 @@ FOREACH(_feature ${_deal_ii_features_sorted})
       _detailed("#            TBB_VERSION = ${TBB_VERSION}\n")
     ENDIF()
 
+    IF(_feature MATCHES "KOKKOS")
+      _detailed("#            KOKKOS_BACKENDS = ${Kokkos_DEVICES}\n")
+      _detailed("#            KOKKOS_ARCHITECTURES = ${Kokkos_ARCH}\n")
+    ENDIF()
 
     #
     # Print out ${_feature}_DIR:

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.