42#ifndef TPETRA_DETAILS_PACKCRSMATRIX_DECL_HPP
43#define TPETRA_DETAILS_PACKCRSMATRIX_DECL_HPP
45#include "TpetraCore_config.h"
46#include "Kokkos_DualView.hpp"
72#ifndef DOXYGEN_SHOULD_SKIP_THIS
75template<
class T>
class Array;
77template<
class T>
class ArrayView;
119template<
typename ST,
typename LO,
typename GO,
typename NT>
122 Teuchos::Array<char>& exports,
123 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
124 const Teuchos::ArrayView<const LO>& exportLIDs,
125 size_t& constantNumPackets);
156template<
typename ST,
typename LO,
typename GO,
typename NT>
159 Kokkos::DualView<
char*,
160 typename DistObject<char, LO, GO, NT>::buffer_device_type>& exports,
161 const Kokkos::DualView<
size_t*,
162 typename DistObject<char, LO, GO, NT>::buffer_device_type>& numPacketsPerLID,
163 const Kokkos::DualView<
const LO*,
164 typename DistObject<char, LO, GO, NT>::buffer_device_type>& exportLIDs,
165 size_t& constantNumPackets);
198template<
typename ST,
typename LO,
typename GO,
typename NT>
201 Kokkos::DualView<
char*,
typename DistObject<char, LO, GO, NT>::buffer_device_type>& exports_dv,
202 const Teuchos::ArrayView<size_t>& numPacketsPerLID,
203 const Teuchos::ArrayView<const LO>& exportLIDs,
204 const Teuchos::ArrayView<const int>& sourcePIDs,
205 size_t& constantNumPackets);
Forward declaration of Tpetra::CrsMatrix.
Declaration of the Tpetra::DistObject class.
Implementation details of Tpetra.
void packCrsMatrix(const CrsMatrix< ST, LO, GO, NT > &sourceMatrix, Teuchos::Array< char > &exports, const Teuchos::ArrayView< size_t > &numPacketsPerLID, const Teuchos::ArrayView< const LO > &exportLIDs, size_t &constantNumPackets)
Pack specified entries of the given local sparse matrix for communication.
void packCrsMatrixWithOwningPIDs(const CrsMatrix< ST, LO, GO, NT > &sourceMatrix, Kokkos::DualView< char *, typename DistObject< char, 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 matrix for communication.
void packCrsMatrixNew(const CrsMatrix< ST, LO, GO, NT > &sourceMatrix, Kokkos::DualView< char *, typename DistObject< char, LO, GO, NT >::buffer_device_type > &exports, const Kokkos::DualView< size_t *, typename DistObject< char, LO, GO, NT >::buffer_device_type > &numPacketsPerLID, const Kokkos::DualView< const LO *, typename DistObject< char, LO, GO, NT >::buffer_device_type > &exportLIDs, size_t &constantNumPackets)
Pack specified entries of the given local sparse matrix for communication, for "new" DistObject inter...
Namespace Tpetra contains the class and methods constituting the Tpetra library.