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
74template<
class T>
class Array;
76template<
class T>
class ArrayView;
115template<
typename LO,
typename GO,
typename NT>
119 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
120 const Teuchos::ArrayView<const LO>& exportLIDs,
121 size_t& constantNumPackets);
150template<
typename LO,
typename GO,
typename NT>
153 const Kokkos::DualView<
157 const Kokkos::DualView<
169 size_t& constantNumPackets,
170 const bool pack_pids);
200template<
typename LO,
typename GO,
typename NT>
206 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
207 const Teuchos::ArrayView<const LO>& exportLIDs,
208 const Teuchos::ArrayView<const int>& sourcePIDs,
209 size_t& constantNumPackets);
Forward declaration of Tpetra::CrsGraph.
Declaration of the Tpetra::DistObject class.
typename dist_object_type::buffer_device_type buffer_device_type
Kokkos::Device specialization for communication buffers.
global_ordinal_type packet_type
Type of each entry of the DistObject communication buffer.
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)
Pack specified entries of the given local sparse graph for communication.
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...
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.
Namespace Tpetra contains the class and methods constituting the Tpetra library.