Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update > Class Template Reference

#include <Kokkos_CrsMatrix_MP_Vector.hpp>

Public Types

typedef Sacado::MP::Vector< MatrixStorage > MatrixValue
 
typedef Sacado::MP::Vector< InputStorage > InputVectorValue
 
typedef Sacado::MP::Vector< OutputStorage > OutputVectorValue
 
typedef OutputVectorValue scalar_type
 
typedef MatrixDevice execution_space
 
typedef execution_space::size_type size_type
 
typedef KokkosSparse::CrsMatrix< MatrixValue, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize > matrix_type
 
typedef matrix_type::values_type matrix_values_type
 
typedef Kokkos::View< InputVectorValue **, InputP... > input_vector_type
 
typedef Kokkos::View< OutputVectorValue **, OutputP... > output_vector_type
 
typedef Update update_type
 

Public Member Functions

 MPMultiply (const matrix_type &A, const input_vector_type &x, const output_vector_type &y, const update_type &update)
 
KOKKOS_INLINE_FUNCTION void operator() (const size_type iRow) const
 

Static Public Member Functions

static void apply (const matrix_type &A, const input_vector_type &x, const output_vector_type &y, const update_type &update)
 

Public Attributes

const matrix_type m_A
 
const input_vector_type m_x
 
const output_vector_type m_y
 
const update_type m_update
 

Detailed Description

template<typename MatrixDevice, typename MatrixStorage, typename MatrixOrdinal, typename MatrixMemory, typename MatrixSize, typename InputStorage, typename ... InputP, typename OutputStorage, typename ... OutputP, typename Update>
class Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >

Definition at line 179 of file Kokkos_CrsMatrix_MP_Vector.hpp.

Member Typedef Documentation

◆ MatrixValue

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef Sacado::MP::Vector<MatrixStorage> Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::MatrixValue

Definition at line 196 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ InputVectorValue

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef Sacado::MP::Vector<InputStorage> Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::InputVectorValue

Definition at line 197 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ OutputVectorValue

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef Sacado::MP::Vector<OutputStorage> Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::OutputVectorValue

Definition at line 198 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ scalar_type

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef OutputVectorValue Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::scalar_type

Definition at line 199 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ execution_space

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef MatrixDevice Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::execution_space

Definition at line 201 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ size_type

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef execution_space::size_type Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::size_type

Definition at line 202 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ matrix_type

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef KokkosSparse::CrsMatrix< MatrixValue, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize > Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::matrix_type

Definition at line 208 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ matrix_values_type

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef matrix_type::values_type Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::matrix_values_type

Definition at line 209 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ input_vector_type

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef Kokkos::View< InputVectorValue**, InputP... > Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::input_vector_type

Definition at line 211 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ output_vector_type

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef Kokkos::View< OutputVectorValue**, OutputP... > Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::output_vector_type

Definition at line 213 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ update_type

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
typedef Update Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::update_type

Definition at line 214 of file Kokkos_CrsMatrix_MP_Vector.hpp.

Constructor & Destructor Documentation

◆ MPMultiply()

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::MPMultiply ( const matrix_type A,
const input_vector_type x,
const output_vector_type y,
const update_type update 
)
inline

Definition at line 221 of file Kokkos_CrsMatrix_MP_Vector.hpp.

Member Function Documentation

◆ operator()()

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
KOKKOS_INLINE_FUNCTION void Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::operator() ( const size_type  iRow) const
inline

Definition at line 232 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ apply()

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
static void Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::apply ( const matrix_type A,
const input_vector_type x,
const output_vector_type y,
const update_type update 
)
inlinestatic

Definition at line 252 of file Kokkos_CrsMatrix_MP_Vector.hpp.

Member Data Documentation

◆ m_A

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
const matrix_type Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_A

Definition at line 216 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ m_x

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
const input_vector_type Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_x

Definition at line 217 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ m_y

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
const output_vector_type Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_y

Definition at line 218 of file Kokkos_CrsMatrix_MP_Vector.hpp.

◆ m_update

template<typename MatrixDevice , typename MatrixStorage , typename MatrixOrdinal , typename MatrixMemory , typename MatrixSize , typename InputStorage , typename ... InputP, typename OutputStorage , typename ... OutputP, typename Update >
const update_type Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_update

Definition at line 219 of file Kokkos_CrsMatrix_MP_Vector.hpp.


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