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::TensorNegate< ET_TYPE > Class Template Reference

#include <TensorNegate.hpp>

Inheritance diagram for RAJA::internal::expt::ET::TensorNegate< ET_TYPE >:
RAJA::internal::expt::ET::TensorExpressionBase< TensorNegate< ET_TYPE > > RAJA::internal::expt::ET::TensorExpressionConcreteBase

Public Types

using self_type = TensorNegate< ET_TYPE >
 
using rhs_type = ET_TYPE
 
using tensor_type = typename ET_TYPE::result_type
 
using element_type = typename tensor_type::element_type
 
using index_type = typename ET_TYPE::index_type
 
using result_type = tensor_type
 
using tile_type = typename ET_TYPE::tile_type
 
- Public Types inherited from RAJA::internal::expt::ET::TensorExpressionBase< TensorNegate< ET_TYPE > >
using self_type = TensorNegate< ET_TYPE >
 

Public Member Functions

RAJA_INLINE RAJA_HOST_DEVICE TensorNegate (rhs_type const &tensor)
 
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type getDimSize (index_type dim) const
 
template<typename TILE_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE result_type eval (TILE_TYPE const &tile) const
 
RAJA_INLINE RAJA_HOST_DEVICE void print_ast () const
 
- Public Member Functions inherited from RAJA::internal::expt::ET::TensorExpressionBase< TensorNegate< ET_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 = ET_TYPE::s_num_dims
 

Member Typedef Documentation

◆ self_type

template<typename ET_TYPE >
using RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::self_type = TensorNegate<ET_TYPE>

◆ rhs_type

template<typename ET_TYPE >
using RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::rhs_type = ET_TYPE

◆ tensor_type

template<typename ET_TYPE >
using RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::tensor_type = typename ET_TYPE::result_type

◆ element_type

template<typename ET_TYPE >
using RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::element_type = typename tensor_type::element_type

◆ index_type

template<typename ET_TYPE >
using RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::index_type = typename ET_TYPE::index_type

◆ result_type

template<typename ET_TYPE >
using RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::result_type = tensor_type

◆ tile_type

template<typename ET_TYPE >
using RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::tile_type = typename ET_TYPE::tile_type

Constructor & Destructor Documentation

◆ TensorNegate()

template<typename ET_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::TensorNegate ( rhs_type const &  tensor)
inline

Member Function Documentation

◆ getDimSize()

template<typename ET_TYPE >
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::getDimSize ( index_type  dim) const
inlineconstexpr

◆ eval()

template<typename ET_TYPE >
template<typename TILE_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE result_type RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::eval ( TILE_TYPE const &  tile) const
inline

◆ print_ast()

template<typename ET_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE void RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::print_ast ( ) const
inline

Member Data Documentation

◆ s_num_dims

template<typename ET_TYPE >
constexpr camp::idx_t RAJA::internal::expt::ET::TensorNegate< ET_TYPE >::s_num_dims = ET_TYPE::s_num_dims
staticconstexpr

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