46 #ifndef MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP
51 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
58 #include "MueLu_LWGraph_kokkos.hpp"
86 #undef MUELU_AGGREGATIONPHASE2BALGORITHM_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 2b (expansion)"; }
134 #define MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_SHORT
135 #endif // MUELU_AGGREGATIONPHASE2BALGORITHM_KOKKOS_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Lightweight MueLu representation of a compressed row storage graph.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Container class for aggregation information.
void BuildAggregates(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
std::string description() const
Return a simple one-line description of this object.
AggregationPhase2bAlgorithm_kokkos(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.
typename device_type::execution_space execution_space
virtual ~AggregationPhase2bAlgorithm_kokkos()
Destructor.
void BuildAggregatesRandom(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
MueLu::DefaultGlobalOrdinal GlobalOrdinal
typename LWGraph_kokkos::device_type device_type
typename device_type::memory_space memory_space
void BuildAggregatesDeterministic(const ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
typename LWGraph_kokkos::memory_space memory_space
typename LWGraph_kokkos::execution_space execution_space
typename std::conditional< OnHost, Kokkos::Device< Kokkos::Serial, Kokkos::HostSpace >, typename Node::device_type >::type device_type