46 #ifndef MUELU_ONEPTAGGREGATIONALGORITHM_KOKKOS_DECL_HPP
47 #define MUELU_ONEPTAGGREGATIONALGORITHM_KOKKOS_DECL_HPP
51 #include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
58 #include "MueLu_LWGraph_kokkos.hpp"
83 #undef MUELU_ONEPTAGGREGATIONALGORITHM_KOKKOS_SHORT
108 Kokkos::View<unsigned*, device_type>& aggStat,
109 LO& numNonAggregatedNodes)
const;
116 #define MUELU_ONEPTAGGREGATIONALGORITHM_KOKKOS_SHORT
117 #endif // MUELU_ONEPTAGGREGATIONALGORITHM_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.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
virtual ~OnePtAggregationAlgorithm_kokkos()
Destructor.
typename LWGraph_kokkos::device_type device_type
typename device_type::memory_space memory_space
OnePtAggregationAlgorithm_kokkos(RCP< const FactoryBase > const &graphFact=Teuchos::null)
Constructor.
void BuildAggregates(Teuchos::ParameterList const ¶ms, LWGraph_kokkos const &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
typename LWGraph_kokkos::memory_space memory_space
typename std::conditional< OnHost, Kokkos::Device< Kokkos::Serial, Kokkos::HostSpace >, typename Node::device_type >::type device_type