Stokhos Package Browser (Single Doxygen Collection) Version of the Day
|
#include <Stokhos_SimpleTiledCrsProductTensor.hpp>
Classes | |
struct | Coord |
struct | Tile |
Public Types | |
typedef ExecutionSpace | execution_space |
typedef int | size_type |
typedef ValueType | value_type |
Public Member Functions | |
~SimpleTiledCrsProductTensor () | |
SimpleTiledCrsProductTensor () | |
SimpleTiledCrsProductTensor (const SimpleTiledCrsProductTensor &rhs) | |
SimpleTiledCrsProductTensor & | operator= (const SimpleTiledCrsProductTensor &rhs) |
KOKKOS_INLINE_FUNCTION size_type | dimension () const |
Dimension of the tensor. | |
KOKKOS_INLINE_FUNCTION size_type | entry_count () const |
Number of sparse entries. | |
KOKKOS_INLINE_FUNCTION size_type | num_i_tiles () const |
Number i-tiles. | |
KOKKOS_INLINE_FUNCTION size_type | i_begin (const size_type i) const |
Begin entries with for tile 'i'. | |
KOKKOS_INLINE_FUNCTION size_type | i_size (const size_type i) const |
Number of entries with for tile 'i'. | |
KOKKOS_INLINE_FUNCTION size_type | num_j_tiles (const size_type i) const |
Number j-tiles. | |
KOKKOS_INLINE_FUNCTION size_type | j_begin (const size_type i, const size_type j) const |
Begin entries with for tile 'i,j'. | |
KOKKOS_INLINE_FUNCTION size_type | j_size (const size_type i, const size_type j) const |
Number of entries with for tile 'i,j'. | |
KOKKOS_INLINE_FUNCTION size_type | num_k_tiles (const size_type i, const size_type j) const |
Number k-tiles. | |
KOKKOS_INLINE_FUNCTION size_type | k_begin (const size_type i, const size_type j, const size_type k) const |
Begin entries with for tile 'i,j,k'. | |
KOKKOS_INLINE_FUNCTION size_type | k_size (const size_type i, const size_type j, const size_type k) const |
Number of entries with for tile 'i,j'. | |
KOKKOS_INLINE_FUNCTION size_type | num_entry (const size_type i, const size_type j, const size_type k, const size_type r) const |
Number of entries for tile (i,j,k) and row r. | |
KOKKOS_INLINE_FUNCTION size_type | entry_begin (const size_type i, const size_type j, const size_type k, const size_type r) const |
Begin entries for tile (i,j,k) and row r. | |
KOKKOS_INLINE_FUNCTION size_type | entry_end (const size_type i, const size_type j, const size_type k, const size_type r) const |
End entries for tile (i,j,k) and row r. | |
KOKKOS_INLINE_FUNCTION const size_type & | coord (const size_type entry, const size_type c) const |
Coordinates of an entry. | |
KOKKOS_INLINE_FUNCTION const size_type & | coord (const size_type entry) const |
Coordinates of an entry. | |
KOKKOS_INLINE_FUNCTION const value_type & | value (const size_type entry) const |
Value of an entry. | |
KOKKOS_INLINE_FUNCTION size_type | num_non_zeros () const |
Number of non-zero's. | |
KOKKOS_INLINE_FUNCTION size_type | num_flops () const |
Number flop's per multiply-add. | |
KOKKOS_INLINE_FUNCTION size_type | max_i_tile_size () const |
Max size of any i tile. | |
KOKKOS_INLINE_FUNCTION size_type | max_jk_tile_size () const |
Max size of any j/k tile. | |
Static Public Member Functions | |
template<typename OrdinalType > | |
static SimpleTiledCrsProductTensor | create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList ¶ms) |
Static Public Attributes | |
static const size_type | host_vectorsize = 2 |
static const bool | use_intrinsics = false |
static const size_type | cuda_vectorsize = 32 |
static const bool | is_cuda |
static const size_type | vectorsize = is_cuda ? cuda_vectorsize : host_vectorsize |
static const size_type | tensor_align = vectorsize |
Private Types | |
typedef Kokkos::View< value_type[], execution_space > | vec_type |
typedef Kokkos::View< value_type[], execution_space > | value_array_type |
typedef Kokkos::View< size_type[], execution_space > | coord_array_type |
typedef Kokkos::View< size_type[][2], Kokkos::LayoutLeft, execution_space > | coord2_array_type |
typedef Kokkos::View< size_type *, execution_space > | i_begin_type |
typedef Kokkos::View< size_type *, execution_space > | i_size_type |
typedef Kokkos::View< size_type *, execution_space > | num_j_type |
typedef Kokkos::View< size_type **, execution_space > | j_begin_type |
typedef Kokkos::View< size_type **, execution_space > | j_size_type |
typedef Kokkos::View< size_type **, execution_space > | num_k_type |
typedef Kokkos::View< size_type ***, execution_space > | k_begin_type |
typedef Kokkos::View< size_type ***, execution_space > | k_size_type |
typedef Kokkos::View< size_type ****, Kokkos::LayoutRight, execution_space > | row_map_type |
typedef Kokkos::View< size_type ****, Kokkos::LayoutRight, execution_space > | num_entry_type |
typedef Tile< Coord > | KTile |
typedef Tile< KTile > | JTile |
typedef Tile< JTile > | ITile |
Definition at line 61 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
typedef ExecutionSpace Stokhos::SimpleTiledCrsProductTensor< ValueType, ExecutionSpace >::execution_space |
Definition at line 64 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
typedef int Stokhos::SimpleTiledCrsProductTensor< ValueType, ExecutionSpace >::size_type |
Definition at line 65 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
typedef ValueType Stokhos::SimpleTiledCrsProductTensor< ValueType, ExecutionSpace >::value_type |
Definition at line 66 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 93 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 94 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 95 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 96 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 97 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 98 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 99 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 100 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 101 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 102 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 103 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 104 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 106 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 107 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 140 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 141 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 142 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Definition at line 147 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Definition at line 150 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Definition at line 172 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Definition at line 194 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Dimension of the tensor.
Definition at line 221 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number of sparse entries.
Definition at line 225 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number i-tiles.
Definition at line 229 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Begin entries with for tile 'i'.
Definition at line 233 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number of entries with for tile 'i'.
Definition at line 237 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number j-tiles.
Definition at line 241 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Begin entries with for tile 'i,j'.
Definition at line 245 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number of entries with for tile 'i,j'.
Definition at line 251 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number k-tiles.
Definition at line 257 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Begin entries with for tile 'i,j,k'.
Definition at line 262 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number of entries with for tile 'i,j'.
Definition at line 269 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number of entries for tile (i,j,k) and row r.
Definition at line 276 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Begin entries for tile (i,j,k) and row r.
Definition at line 283 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
End entries for tile (i,j,k) and row r.
Definition at line 290 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Coordinates of an entry.
Definition at line 297 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Coordinates of an entry.
Definition at line 303 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Value of an entry.
Definition at line 309 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number of non-zero's.
Definition at line 315 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Number flop's per multiply-add.
Definition at line 320 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Max size of any i tile.
Definition at line 325 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inline |
Max size of any j/k tile.
Definition at line 329 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
inlinestatic |
Definition at line 333 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
static |
Definition at line 76 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
static |
Definition at line 77 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
static |
Definition at line 79 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
static |
Definition at line 80 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
static |
Definition at line 86 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
static |
Definition at line 89 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 109 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 110 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 111 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 112 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 113 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 114 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 115 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 116 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 117 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 118 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 119 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 120 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 121 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 122 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 123 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 124 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 125 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 126 of file Stokhos_SimpleTiledCrsProductTensor.hpp.
|
private |
Definition at line 127 of file Stokhos_SimpleTiledCrsProductTensor.hpp.