Tpetra parallel linear algebra
Version of the Day
|
#include <Tpetra_Details_MatrixApplyHelper.hpp>
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 28 of file Tpetra_Details_MatrixApplyHelper.hpp.