|
Tpetra parallel linear algebra
Version of the Day
|
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>
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>
166 const Kokkos::DualView<
size_t*,
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>
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
Forward declaration of Tpetra::CrsGraph.
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.
Implementation details of Tpetra.
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.
::Kokkos::Details::ArithTraits< GlobalOrdinal >::val_type packet_type
The type of each datum being sent or received in an Import or Export.
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...
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Kokkos::Device< typename device_type::execution_space, buffer_memory_space > buffer_device_type
Kokkos::Device specialization for communication buffers.