Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Stokhos::TiledCrsProductTensor< ValueType, ExecutionSpace > Class Template Reference

Public Types

typedef ExecutionSpace execution_space
 
typedef int size_type
 
typedef ValueType value_type
 

Public Member Functions

 TiledCrsProductTensor (const TiledCrsProductTensor &rhs)
 
TiledCrsProductTensoroperator= (const TiledCrsProductTensor &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 entry_maximum () const
 Maximum sparse entries for any coordinate.
 
KOKKOS_INLINE_FUNCTION size_type max_num_rows () const
 Maximum number of rows in any tile.
 
KOKKOS_INLINE_FUNCTION size_type num_rows (size_type tile) const
 Number of rows in given tile.
 
KOKKOS_INLINE_FUNCTION const
size_type & 
entry_begin (size_type tile, size_type i) const
 Begin entries with a coordinate 'i'.
 
KOKKOS_INLINE_FUNCTION size_type entry_end (size_type tile, size_type i) const
 End entries with a coordinate 'i'.
 
KOKKOS_INLINE_FUNCTION const
size_type * 
row_map_ptr () const
 Return row_map ptr.
 
KOKKOS_INLINE_FUNCTION const
size_type & 
num_entry (size_type tile, size_type i) const
 Number of entries with a coordinate 'i'.
 
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 tile_size () const
 Number tiles.
 
KOKKOS_INLINE_FUNCTION size_type num_tiles () const
 Number tiles.
 
KOKKOS_INLINE_FUNCTION const
size_type & 
offset (const size_type entry, const size_type c) const
 Coordinate offset.
 
KOKKOS_INLINE_FUNCTION const
size_type & 
range (const size_type entry, const size_type c) const
 Coordinate range.
 

Static Public Member Functions

template<typename OrdinalType >
static TiledCrsProductTensor create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList &params)
 

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
 

Member Data Documentation

template<typename ValueType , class ExecutionSpace >
const bool Stokhos::TiledCrsProductTensor< ValueType, ExecutionSpace >::is_cuda
static
Initial value:
=
false

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