42 #ifndef STOKHOS_CUDA_STOCHASTICPRODUCTTENSOR_HPP
43 #define STOKHOS_CUDA_STOCHASTICPRODUCTTENSOR_HPP
45 #include "Kokkos_Core.hpp"
56 template<
typename TensorScalar ,
57 typename MatrixScalar ,
58 typename VectorScalar ,
63 MatrixScalar, Kokkos::Cuda> ,
64 Kokkos::View<VectorScalar**, Kokkos::LayoutLeft, Kokkos::Cuda>,
65 Kokkos::View<VectorScalar**, Kokkos::LayoutLeft, Kokkos::Cuda> >
74 typedef Kokkos::View< VectorScalar** , Kokkos::LayoutLeft , Kokkos::Cuda >
vector_type ;
86 base_matrix_type base_matrix ;
88 base_matrix.values = A.
values ;
89 base_matrix.graph = A.
graph ;
90 base_matrix.block = A.
block.tensor();
92 base_multiply_type::apply( base_matrix , x , y );
Stokhos::Multiply< BlockCrsMatrix< StochasticProductTensor< TensorScalar, TensorType, Kokkos::Cuda >, MatrixScalar, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda > >::vector_type Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda > vector_type
Bases defined by combinatorial product of polynomial bases.
Stokhos::Multiply< BlockCrsMatrix< StochasticProductTensor< TensorScalar, TensorType, Kokkos::Cuda >, MatrixScalar, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda > >::apply static void apply(const matrix_type &A, const vector_type &x, const vector_type &y)
Stokhos::Multiply< BlockCrsMatrix< StochasticProductTensor< TensorScalar, TensorType, Kokkos::Cuda >, MatrixScalar, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda > >::matrix_type BlockCrsMatrix< tensor_type, MatrixScalar, execution_space > matrix_type
Stokhos::Multiply< BlockCrsMatrix< StochasticProductTensor< TensorScalar, TensorType, Kokkos::Cuda >, MatrixScalar, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda > >::execution_space Kokkos::Cuda execution_space
Stokhos::Multiply< BlockCrsMatrix< StochasticProductTensor< TensorScalar, TensorType, Kokkos::Cuda >, MatrixScalar, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda > >::size_type execution_space::size_type size_type
CRS matrix of dense blocks.
Stokhos::Multiply< BlockCrsMatrix< StochasticProductTensor< TensorScalar, TensorType, Kokkos::Cuda >, MatrixScalar, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda >, Kokkos::View< VectorScalar **, Kokkos::LayoutLeft, Kokkos::Cuda > >::tensor_type StochasticProductTensor< TensorScalar, TensorType, Kokkos::Cuda > tensor_type