Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
Tpetra::Details::MatrixApplyHelper< LocalMatrix, IntLocalMatrix, MultiVectorLocalView > Struct Template Reference

#include <Tpetra_Details_MatrixApplyHelper.hpp>

Detailed Description

template<typename LocalMatrix, typename IntLocalMatrix, typename MultiVectorLocalView>
struct Tpetra::Details::MatrixApplyHelper< LocalMatrix, IntLocalMatrix, MultiVectorLocalView >

Helper for CrsMatrix::apply and BlockCrsMatrix::apply. Converts rowptrs of the local matrix to int if it's not already int-valued, and overflow won't occur. This enables TPLs to be used in KokkosSparse::spmv.

This functionality is temporary. When KokkosKernels 4.4 is released, the default offset (rowptrs element type) in KK's ETI will switch to int, and Tpetra's matrix types will also switch to int. This will make the int rowptrs handling here unnecessary, and CrsMatrix/BlockCrsMatrix can simply store the SPMVHandle themselves.

Definition at line 61 of file Tpetra_Details_MatrixApplyHelper.hpp.


The documentation for this struct was generated from the following file: