RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Types | Public Member Functions | Static Public Attributes | List of all members
RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE > Class Template Reference

#include <MultiplyOperator.hpp>

Inheritance diagram for RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >:
RAJA::internal::expt::ET::TensorExpressionBase< RestrictExtents< OPERAND_TYPE, TILE_TYPE > > RAJA::internal::expt::ET::TensorExpressionConcreteBase

Public Types

using self_type = RestrictExtents< OPERAND_TYPE, TILE_TYPE >
 
using operand_type = OPERAND_TYPE
 
using result_type = typename OPERAND_TYPE::result_type
 
using index_type = typename TILE_TYPE::index_type
 
using tile_type = TILE_TYPE
 
- Public Types inherited from RAJA::internal::expt::ET::TensorExpressionBase< RestrictExtents< OPERAND_TYPE, TILE_TYPE > >
using self_type = RestrictExtents< OPERAND_TYPE, TILE_TYPE >
 

Public Member Functions

RAJA_INLINE RAJA_HOST_DEVICE RestrictExtents (operand_type const &operand, tile_type const &tile)
 
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type getDimSize (index_type dim) const
 
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type getDimBegin (camp::idx_t dim) const
 
template<typename TILE_TYPE2 >
RAJA_INLINE RAJA_HOST_DEVICE auto eval (TILE_TYPE2 const &tile) const -> decltype(m_operand.eval(tile))
 
RAJA_INLINE RAJA_HOST_DEVICE void print_ast () const
 
- Public Member Functions inherited from RAJA::internal::expt::ET::TensorExpressionBase< RestrictExtents< OPERAND_TYPE, TILE_TYPE > >
RAJA_INLINE constexpr RAJA_HOST_DEVICE camp::idx_t getDimBegin (camp::idx_t) const
 
RAJA_SUPPRESS_HD_WARN RAJA_INLINE RAJA_HOST_DEVICE TensorAdd< self_type, normalize_operand_t< RHS > > operator+ (RHS const &rhs) const
 
RAJA_SUPPRESS_HD_WARN RAJA_INLINE RAJA_HOST_DEVICE TensorSubtract< self_type, normalize_operand_t< RHS > > operator- (RHS const &rhs) const
 
RAJA_SUPPRESS_HD_WARN RAJA_INLINE RAJA_HOST_DEVICE TensorNegate< self_typeoperator- () const
 
RAJA_SUPPRESS_HD_WARN RAJA_INLINE RAJA_HOST_DEVICE TensorMultiply< self_type, normalize_operand_t< RHS > > operator* (RHS const &rhs) const
 
RAJA_SUPPRESS_HD_WARN RAJA_INLINE RAJA_HOST_DEVICE TensorDivide< self_type, normalize_operand_t< RHS > > operator/ (RHS const &rhs) const
 
RAJA_SUPPRESS_HD_WARN RAJA_INLINE RAJA_HOST_DEVICE TensorTranspose< self_typetranspose () const
 

Static Public Attributes

static constexpr camp::idx_t s_num_dims = OPERAND_TYPE::s_num_dims
 

Member Typedef Documentation

◆ self_type

template<typename OPERAND_TYPE , typename TILE_TYPE >
using RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::self_type = RestrictExtents<OPERAND_TYPE, TILE_TYPE>

◆ operand_type

template<typename OPERAND_TYPE , typename TILE_TYPE >
using RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::operand_type = OPERAND_TYPE

◆ result_type

template<typename OPERAND_TYPE , typename TILE_TYPE >
using RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::result_type = typename OPERAND_TYPE::result_type

◆ index_type

template<typename OPERAND_TYPE , typename TILE_TYPE >
using RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::index_type = typename TILE_TYPE::index_type

◆ tile_type

template<typename OPERAND_TYPE , typename TILE_TYPE >
using RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::tile_type = TILE_TYPE

Constructor & Destructor Documentation

◆ RestrictExtents()

template<typename OPERAND_TYPE , typename TILE_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::RestrictExtents ( operand_type const &  operand,
tile_type const &  tile 
)
inline

Member Function Documentation

◆ getDimSize()

template<typename OPERAND_TYPE , typename TILE_TYPE >
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::getDimSize ( index_type  dim) const
inlineconstexpr

◆ getDimBegin()

template<typename OPERAND_TYPE , typename TILE_TYPE >
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::getDimBegin ( camp::idx_t  dim) const
inlineconstexpr

◆ eval()

template<typename OPERAND_TYPE , typename TILE_TYPE >
template<typename TILE_TYPE2 >
RAJA_INLINE RAJA_HOST_DEVICE auto RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::eval ( TILE_TYPE2 const &  tile) const -> decltype(m_operand.eval(tile))
inline

◆ print_ast()

template<typename OPERAND_TYPE , typename TILE_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE void RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::print_ast ( ) const
inline

Member Data Documentation

◆ s_num_dims

template<typename OPERAND_TYPE , typename TILE_TYPE >
constexpr camp::idx_t RAJA::internal::expt::ET::RestrictExtents< OPERAND_TYPE, TILE_TYPE >::s_num_dims = OPERAND_TYPE::s_num_dims
staticconstexpr

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