]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Prefer KOKKOS_ENABLE_* over HAVE_TPETRA_INST_* 17462/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 5 Aug 2024 15:21:42 +0000 (15:21 +0000)
committerTimo Heister <timo.heister@gmail.com>
Thu, 8 Aug 2024 21:35:40 +0000 (17:35 -0400)
source/base/index_set.cc

index a636e830aa399a5b129ef43500382102acb9e321..35d91f9217cef6ab05b06d799fbf8390db6dfcf1 100644 (file)
@@ -1214,8 +1214,8 @@ template IndexSet::IndexSet(
     LinearAlgebra::TpetraWrappers::TpetraTypes::NodeType<MemorySpace::Host>>>
     &);
 
-#      if defined(HAVE_TPETRA_INST_CUDA) || defined(HAVE_TPETRA_INST_HIP) || \
-        defined(HAVE_TPETRA_INST_SYCL)
+#      if defined(KOKKOS_ENABLE_CUDA) || defined(KOKKOS_ENABLE_HIP) || \
+        defined(KOKKOS_ENABLE_SYCL)
 template IndexSet::IndexSet(
   const Teuchos::RCP<const Tpetra::Map<
     int,
@@ -1230,8 +1230,8 @@ dealii::IndexSet::make_tpetra_map<
   const MPI_Comm,
   bool) const;
 
-#      if defined(HAVE_TPETRA_INST_CUDA) || defined(HAVE_TPETRA_INST_HIP) || \
-        defined(HAVE_TPETRA_INST_SYCL)
+#      if defined(KOKKOS_ENABLE_CUDA) || defined(KOKKOS_ENABLE_HIP) || \
+        defined(KOKKOS_ENABLE_SYCL)
 template LinearAlgebra::TpetraWrappers::TpetraTypes::MapType<
   MemorySpace::Default>
 dealii::IndexSet::make_tpetra_map<
@@ -1247,8 +1247,8 @@ dealii::IndexSet::make_tpetra_map_rcp<
   const MPI_Comm,
   bool) const;
 
-#      if defined(HAVE_TPETRA_INST_CUDA) || defined(HAVE_TPETRA_INST_HIP) || \
-        defined(HAVE_TPETRA_INST_SYCL)
+#      if defined(KOKKOS_ENABLE_CUDA) || defined(KOKKOS_ENABLE_HIP) || \
+        defined(KOKKOS_ENABLE_SYCL)
 template Teuchos::RCP<
   LinearAlgebra::TpetraWrappers::TpetraTypes::MapType<MemorySpace::Default>>
 dealii::IndexSet::make_tpetra_map_rcp<

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.