Tpetra parallel linear algebra  Version of the Day
Classes | Namespaces | Functions
Tpetra_Details_packCrsMatrix.hpp File Reference

Functions for packing the entries of a Tpetra::CrsMatrix for communication, in the case where it is valid to go to the KokkosSparse::CrsMatrix (local sparse matrix data structure) directly. More...

#include "TpetraCore_config.h"
#include "Teuchos_Array.hpp"
#include "Teuchos_ArrayView.hpp"
#include "Tpetra_Details_OrdinalTraits.hpp"
#include "Tpetra_Details_computeOffsets.hpp"
#include "Tpetra_Details_createMirrorView.hpp"
#include "Kokkos_Core.hpp"
#include <memory>
#include <string>

Go to the source code of this file.

Classes

struct  Tpetra::Details::PackCrsMatrixError< LO >
 Reduction result for PackCrsMatrixFunctor below. More...
 

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 
 Tpetra::Details
 Namespace for Tpetra implementation details.
 

Functions

template<class LocalMatrixType , class LocalMapType >
KOKKOS_FUNCTION bool Tpetra::Details::packCrsMatrixRow (const LocalMatrixType &lclMatrix, const LocalMapType &lclColMap, char *const numEntOut, char *const valOut, char *const indOut, const size_t numEnt, const typename LocalMatrixType::ordinal_type lclRow)
 Packs a single row of the CrsMatrix. More...
 
template<class LocalMatrixType , class LocalMapType >
bool Tpetra::Details::packCrsMatrix (const LocalMatrixType &lclMatrix, const LocalMapType &lclColMap, std::unique_ptr< std::string > &errStr, Teuchos::Array< char > &exports, const Teuchos::ArrayView< size_t > &numPacketsPerLID, size_t &constantNumPackets, const Teuchos::ArrayView< const typename LocalMatrixType::ordinal_type > &exportLIDs, const int myRank, Distributor &)
 Pack specified entries of the given local sparse matrix for communication. More...
 

Detailed Description

Functions for packing the entries of a Tpetra::CrsMatrix for communication, in the case where it is valid to go to the KokkosSparse::CrsMatrix (local sparse matrix data structure) directly.

Warning
This file, and its contents, are implementation details of Tpetra. The file itself or its contents may disappear or change at any time.

Definition in file Tpetra_Details_packCrsMatrix.hpp.