Skip to content

Commit

Permalink
Prefer KOKKOS_ENABLE_* over HAVE_TPETRA_INST_*
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Aug 5, 2024
1 parent 5b56579 commit bea4baf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/base/index_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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<
Expand All @@ -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<
Expand Down

0 comments on commit bea4baf

Please sign in to comment.