Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Tpetra::LocalCrsMatrixOperator< MultiVectorScalar, MatrixScalar, Device > Class Template Referenceabstract

Abstract interface for local operators (e.g., matrices and preconditioners). More...

#include <Tpetra_LocalCrsMatrixOperator_decl.hpp>

Inheritance diagram for Tpetra::LocalCrsMatrixOperator< MultiVectorScalar, MatrixScalar, Device >:
Inheritance graph
[legend]

Public Member Functions

void applyImbalancedRows (Kokkos::View< const mv_scalar_type **, array_layout, device_type, Kokkos::MemoryTraits< Kokkos::Unmanaged > > X, Kokkos::View< mv_scalar_type **, array_layout, device_type, Kokkos::MemoryTraits< Kokkos::Unmanaged > > Y, const Teuchos::ETransp mode, const mv_scalar_type alpha, const mv_scalar_type beta) const
 Same behavior as apply() above, except give KokkosKernels a hint to use an SPMV algorithm that can efficiently handle matrices with imbalanced rows. More...
 

Detailed Description

template<class MultiVectorScalar, class MatrixScalar, class Device>
class Tpetra::LocalCrsMatrixOperator< MultiVectorScalar, MatrixScalar, Device >

Abstract interface for local operators (e.g., matrices and preconditioners).

Template Parameters
MultiVectorScalarThe type of the entries of the input and output (multi)vectors.
MatrixScalarThe type of the entries of the sparse matrix.
DeviceThe Kokkos Device type; must be a specialization of Kokkos::Device.

Definition at line 60 of file Tpetra_LocalCrsMatrixOperator_decl.hpp.

Member Function Documentation

template<class MultiVectorScalar , class MatrixScalar , class Device >
void Tpetra::LocalCrsMatrixOperator< MultiVectorScalar, MatrixScalar, Device >::applyImbalancedRows ( Kokkos::View< const mv_scalar_type **, array_layout, device_type, Kokkos::MemoryTraits< Kokkos::Unmanaged > >  X,
Kokkos::View< mv_scalar_type **, array_layout, device_type, Kokkos::MemoryTraits< Kokkos::Unmanaged > >  Y,
const Teuchos::ETransp  mode,
const mv_scalar_type  alpha,
const mv_scalar_type  beta 
) const

Same behavior as apply() above, except give KokkosKernels a hint to use an SPMV algorithm that can efficiently handle matrices with imbalanced rows.

Definition at line 108 of file Tpetra_LocalCrsMatrixOperator_def.hpp.


The documentation for this class was generated from the following files: