RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS > Struct Template Reference

#include <TensorRef.hpp>

Public Types

using self_type = TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >
 
using nonstatic_self_type = self_type
 
using index_type = INDEX_TYPE
 

Public Member Functions

template<typename I , TensorTileSize S>
void copy (TensorTile< I, S, NUM_DIMS > const &c)
 
template<typename INDEX_TYPE2 , TensorTileSize TENSOR_SIZE2>
RAJA_HOST_DEVICE RAJA_INLINE self_type operator- (TensorTile< INDEX_TYPE2, TENSOR_SIZE2, NUM_DIMS > const &sub) const
 
RAJA_HOST_DEVICE RAJA_INLINE void print () const
 

Public Attributes

index_type m_begin [NUM_DIMS]
 
index_type m_size [NUM_DIMS]
 

Static Public Attributes

static constexpr camp::idx_t s_num_dims = NUM_DIMS
 
static constexpr TensorTileSize s_tensor_size = TENSOR_SIZE
 

Member Typedef Documentation

◆ self_type

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
using RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::self_type = TensorTile<INDEX_TYPE, TENSOR_SIZE, NUM_DIMS>

◆ nonstatic_self_type

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
using RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::nonstatic_self_type = self_type

◆ index_type

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
using RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::index_type = INDEX_TYPE

Member Function Documentation

◆ copy()

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
template<typename I , TensorTileSize S>
void RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::copy ( TensorTile< I, S, NUM_DIMS > const &  c)
inline

◆ operator-()

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
template<typename INDEX_TYPE2 , TensorTileSize TENSOR_SIZE2>
RAJA_HOST_DEVICE RAJA_INLINE self_type RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::operator- ( TensorTile< INDEX_TYPE2, TENSOR_SIZE2, NUM_DIMS > const &  sub) const
inline

Subtract begin offsets of two tiles.

The resulting tile has the sizes of the left operand, but has m_begin[i] = left.m_begin[i] - right.m_begin[i]

◆ print()

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
RAJA_HOST_DEVICE RAJA_INLINE void RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::print ( ) const
inline

Member Data Documentation

◆ m_begin

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
index_type RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::m_begin[NUM_DIMS]

◆ m_size

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
index_type RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::m_size[NUM_DIMS]

◆ s_num_dims

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
constexpr camp::idx_t RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::s_num_dims = NUM_DIMS
staticconstexpr

◆ s_tensor_size

template<typename INDEX_TYPE , TensorTileSize TENSOR_SIZE, camp::idx_t NUM_DIMS>
constexpr TensorTileSize RAJA::internal::expt::TensorTile< INDEX_TYPE, TENSOR_SIZE, NUM_DIMS >::s_tensor_size = TENSOR_SIZE
staticconstexpr

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