46 #ifndef MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_DECL_HPP
51 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
58 #include "MueLu_LWGraph_kokkos.hpp"
89 #undef MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_SHORT
116 Kokkos::View<unsigned*, device_type>& aggStat,
117 LO& numNonAggregatedNodes)
const;
122 Kokkos::View<unsigned*, device_type>& aggStat,
123 LO& numNonAggregatedNodes)
const;
128 Kokkos::View<unsigned*, device_type>& aggStat,
129 LO& numNonAggregatedNodes)
const;
137 #define MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_SHORT
138 #endif // MUELU_AGGREGATIONPHASE1ALGORITHM_KOKKOS_DECL_HPP
void BuildAggregatesRandom(const LO maxAggSize, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
MueLu::DefaultLocalOrdinal LocalOrdinal
void BuildAggregatesDeterministic(const LO maxAggSize, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
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
virtual ~AggregationPhase1Algorithm_kokkos()
Destructor.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
std::string description() const
Return a simple one-line description of this object.
typename LWGraph_kokkos::device_type device_type
typename device_type::memory_space memory_space
void BuildAggregates(const Teuchos::ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
AggregationPhase1Algorithm_kokkos(const RCP< const FactoryBase > &=Teuchos::null)
Constructor.
typename std::conditional< OnHost, Kokkos::Device< Kokkos::Serial, Kokkos::HostSpace >, typename Node::device_type >::type device_type
typename LWGraph_kokkos::memory_space memory_space