10 #ifndef TPETRA_DETAILS_PACKCRSGRAPH_DECL_HPP
11 #define TPETRA_DETAILS_PACKCRSGRAPH_DECL_HPP
13 #include "TpetraCore_config.h"
14 #include "Kokkos_DualView.hpp"
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 template<
class T>
class Array;
44 template<
class T>
class ArrayView;
46 #endif // DOXYGEN_SHOULD_SKIP_THIS
83 template<
typename LO,
typename GO,
typename NT>
86 Teuchos::Array<
typename CrsGraph<LO,GO,NT>::packet_type>& exports,
87 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
88 const Teuchos::ArrayView<const LO>& exportLIDs,
89 size_t& constantNumPackets);
118 template<
typename LO,
typename GO,
typename NT>
121 const Kokkos::DualView<
123 typename CrsGraph<LO, GO, NT>::buffer_device_type
125 const Kokkos::DualView<
127 typename CrsGraph<LO, GO, NT>::buffer_device_type
130 typename CrsGraph<LO, GO, NT>::packet_type*,
131 typename CrsGraph<LO, GO, NT>::buffer_device_type
135 typename CrsGraph<LO, GO, NT>::buffer_device_type
137 size_t& constantNumPackets,
138 const bool pack_pids);
168 template<
typename LO,
typename GO,
typename NT>
171 Kokkos::DualView<
typename CrsGraph<LO,GO,NT>::packet_type*,
172 typename CrsGraph<LO,GO,NT>::buffer_device_type>&
174 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
175 const Teuchos::ArrayView<const LO>& exportLIDs,
176 const Teuchos::ArrayView<const int>& sourcePIDs,
177 size_t& constantNumPackets);
182 #endif // TPETRA_DETAILS_PACKCRSGRAPH_DECL_HPP
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)
Pack specified entries of the given local sparse graph for communication.
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)
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)
Pack specified entries of the given local sparse graph for communication, for "new" DistObject interf...
Forward declaration of Tpetra::CrsGraph.