46 #ifndef MUELU_AGGREGATIONPHASE2AALGORITHM_DECL_HPP
47 #define MUELU_AGGREGATIONPHASE2AALGORITHM_DECL_HPP
51 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
86 #undef MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_SHORT
113 Kokkos::View<unsigned*, device_type>& aggStat,
114 LO& numNonAggregatedNodes)
const;
119 Kokkos::View<unsigned*, device_type>& aggStat,
120 LO& numNonAggregatedNodes)
const;
125 Kokkos::View<unsigned*, device_type>& aggStat,
126 LO& numNonAggregatedNodes)
const;
129 std::string
description()
const {
return "Phase 2a (secondary)"; }
134 #define MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_SHORT
135 #endif // MUELU_AGGREGATIONPHASE2AALGORITHM_KOKKOS_DECL_HPP
AggregationPhase2aAlgorithm_kokkos(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.
void BuildAggregates(const Teuchos::ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
MueLu::DefaultLocalOrdinal LocalOrdinal
Lightweight MueLu representation of a compressed row storage graph.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Container class for aggregation information.
typename LWGraph_kokkos::execution_space execution_space
typename device_type::execution_space execution_space
typename LWGraph_kokkos::memory_space memory_space
void BuildAggregatesRandom(const Teuchos::ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
MueLu::DefaultGlobalOrdinal GlobalOrdinal
virtual ~AggregationPhase2aAlgorithm_kokkos()
Destructor.
void BuildAggregatesDeterministic(const Teuchos::ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
typename LWGraph_kokkos::device_type device_type
typename device_type::memory_space memory_space
std::string description() const
Return a simple one-line description of this object.
typename std::conditional< OnHost, Kokkos::Device< Kokkos::Serial, Kokkos::HostSpace >, typename Node::device_type >::type device_type