Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const 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 execution_space
 
typedef execution_space::size_type size_type
 
typedef KokkosSparse::CrsMatrix< const MatrixValue, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize > matrix_type
 
typedef matrix_type::values_type matrix_values_type
 
typedef Kokkos::View< const 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >

Definition at line 206 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::MatrixValue

Definition at line 223 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::InputVectorValue

Definition at line 224 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::OutputVectorValue

Definition at line 225 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::scalar_type

Definition at line 226 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::execution_space Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::execution_space

Definition at line 228 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::size_type

Definition at line 229 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< const MatrixValue, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize > Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::matrix_type

Definition at line 235 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::matrix_values_type

Definition at line 236 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< const InputVectorValue**, InputP... > Stokhos::details::MPMultiply< KokkosSparse::CrsMatrix< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::input_vector_type

Definition at line 238 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::output_vector_type

Definition at line 240 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::update_type

Definition at line 241 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const 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 248 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::operator() ( const size_type iRow) const
inline

Definition at line 259 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const 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 279 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_A

Definition at line 243 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_x

Definition at line 244 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_y

Definition at line 245 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< const Sacado::MP::Vector< MatrixStorage >, MatrixOrdinal, MatrixDevice, MatrixMemory, MatrixSize >, Kokkos::View< const Sacado::MP::Vector< InputStorage > **, InputP... >, Kokkos::View< Sacado::MP::Vector< OutputStorage > **, OutputP... >, Update >::m_update

Definition at line 246 of file Kokkos_CrsMatrix_MP_Vector.hpp.


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