42 #ifndef TPETRA_DETAILS_PACKCRSGRAPH_DECL_HPP 43 #define TPETRA_DETAILS_PACKCRSGRAPH_DECL_HPP 45 #include "TpetraCore_config.h" 46 #include "Kokkos_DualView.hpp" 71 #ifndef DOXYGEN_SHOULD_SKIP_THIS 74 template<
class T>
class Array;
76 template<
class T>
class ArrayView;
78 #endif // DOXYGEN_SHOULD_SKIP_THIS 82 #ifndef DOXYGEN_SHOULD_SKIP_THIS 85 #endif // DOXYGEN_SHOULD_SKIP_THIS 122 template<
typename LO,
typename GO,
typename NT>
125 Teuchos::Array<
typename CrsGraph<LO,GO,NT>::packet_type>& exports,
126 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
127 const Teuchos::ArrayView<const LO>& exportLIDs,
128 size_t& constantNumPackets,
129 Distributor& distor);
160 template<
typename LO,
typename GO,
typename NT>
163 Kokkos::DualView<
typename CrsGraph<LO,GO,NT>::packet_type*,
164 typename CrsGraph<LO,GO,NT>::buffer_device_type>&
166 const Kokkos::DualView<
size_t*,
167 typename CrsGraph<LO,GO,NT>::buffer_device_type>&
169 const Kokkos::DualView<const LO*, typename NT::device_type>& exportLIDs,
170 size_t& constantNumPackets,
171 Distributor& distor);
203 template<
typename LO,
typename GO,
typename NT>
206 Kokkos::DualView<
typename CrsGraph<LO,GO,NT>::packet_type*,
207 typename CrsGraph<LO,GO,NT>::buffer_device_type>&
209 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
210 const Teuchos::ArrayView<const LO>& exportLIDs,
211 const Teuchos::ArrayView<const int>& sourcePIDs,
212 size_t& constantNumPackets,
213 Distributor& distor);
218 #endif // TPETRA_DETAILS_PACKCRSGRAPH_DECL_HPP Namespace Tpetra contains the class and methods constituting the Tpetra library.
void packCrsGraphNew(const CrsGraph< LO, GO, NT > &sourceGraph, Kokkos::DualView< typename CrsGraph< LO, GO, NT >::packet_type *, typename CrsGraph< LO, GO, NT >::buffer_device_type > &exports, const Kokkos::DualView< size_t *, typename CrsGraph< LO, GO, NT >::buffer_device_type > &numPacketsPerLID, const Kokkos::DualView< const LO *, typename NT::device_type > &exportLIDs, size_t &constantNumPackets, Distributor &distor)
Pack specified entries of the given local sparse graph for communication, for "new" DistObject interf...
Implementation details of Tpetra.
void packCrsGraph(const CrsGraph< LO, GO, NT > &sourceGraph, Teuchos::Array< typename CrsGraph< LO, GO, NT >::packet_type > &exports, const Teuchos::ArrayView< size_t > &numPacketsPerLID, const Teuchos::ArrayView< const LO > &exportLIDs, size_t &constantNumPackets, Distributor &distor)
Pack specified entries of the given local sparse graph for communication.
Declaration of the Tpetra::DistObject class.
void packCrsGraphWithOwningPIDs(const CrsGraph< LO, GO, NT > &sourceGraph, Kokkos::DualView< typename CrsGraph< LO, GO, NT >::packet_type *, typename CrsGraph< LO, GO, NT >::buffer_device_type > &exports_dv, const Teuchos::ArrayView< size_t > &numPacketsPerLID, const Teuchos::ArrayView< const LO > &exportLIDs, const Teuchos::ArrayView< const int > &sourcePIDs, size_t &constantNumPackets, Distributor &distor)
Pack specified entries of the given local sparse graph for communication.
Forward declaration of Tpetra::CrsGraph.