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 const Kokkos::DualView<
165 typename CrsGraph<LO, GO, NT>::buffer_device_type
167 const Kokkos::DualView<
169 typename CrsGraph<LO, GO, NT>::buffer_device_type
172 typename CrsGraph<LO, GO, NT>::packet_type*,
173 typename CrsGraph<LO, GO, NT>::buffer_device_type
177 typename CrsGraph<LO, GO, NT>::buffer_device_type
179 size_t& constantNumPackets,
180 const bool pack_pids,
181 Distributor& distor);
213 template<
typename LO,
typename GO,
typename NT>
216 Kokkos::DualView<
typename CrsGraph<LO,GO,NT>::packet_type*,
217 typename CrsGraph<LO,GO,NT>::buffer_device_type>&
219 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
220 const Teuchos::ArrayView<const LO>& exportLIDs,
221 const Teuchos::ArrayView<const int>& sourcePIDs,
222 size_t& constantNumPackets,
223 Distributor& distor);
228 #endif // TPETRA_DETAILS_PACKCRSGRAPH_DECL_HPP
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 packCrsGraphNew(const CrsGraph< LO, GO, NT > &sourceGraph, const Kokkos::DualView< const LO *, typename CrsGraph< LO, GO, NT >::buffer_device_type > &exportLIDs, const Kokkos::DualView< const int *, typename CrsGraph< LO, GO, NT >::buffer_device_type > &exportPIDs, Kokkos::DualView< typename CrsGraph< LO, GO, NT >::packet_type *, typename CrsGraph< LO, GO, NT >::buffer_device_type > &exports, Kokkos::DualView< size_t *, typename CrsGraph< LO, GO, NT >::buffer_device_type > numPacketsPerLID, size_t &constantNumPackets, const bool pack_pids, Distributor &distor)
Pack specified entries of the given local sparse graph for communication, for "new" DistObject interf...
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.