From bea4bafe0aa0b0febbba22a27073d51a5db12e6f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 5 Aug 2024 15:21:42 +0000 Subject: [PATCH] Prefer KOKKOS_ENABLE_* over HAVE_TPETRA_INST_* --- source/base/index_set.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/base/index_set.cc b/source/base/index_set.cc index a636e830aa..35d91f9217 100644 --- a/source/base/index_set.cc +++ b/source/base/index_set.cc @@ -1214,8 +1214,8 @@ template IndexSet::IndexSet( LinearAlgebra::TpetraWrappers::TpetraTypes::NodeType>> &); -# 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 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> dealii::IndexSet::make_tpetra_map_rcp< -- 2.39.5