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::TensorScalarLiteral< T > Class Template Reference

#include <TensorScalarLiteral.hpp>

Inheritance diagram for RAJA::internal::expt::ET::TensorScalarLiteral< T >:
RAJA::internal::expt::ET::TensorExpressionBase< TensorScalarLiteral< T > > RAJA::internal::expt::ET::TensorExpressionConcreteBase

Public Types

using self_type = TensorScalarLiteral< T >
 
using tensor_type = RAJA::expt::ScalarRegister< T >
 
using element_type = T
 
using result_type = T
 
using index_type = RAJA::Index_type
 
- Public Types inherited from RAJA::internal::expt::ET::TensorExpressionBase< TensorScalarLiteral< T > >
using self_type = TensorScalarLiteral< T >
 

Public Member Functions

RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type getDimSize (index_type) const
 
RAJA_INLINE constexpr RAJA_HOST_DEVICE TensorScalarLiteral (element_type const &value) noexcept
 
template<typename TILE_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE element_type eval (TILE_TYPE const &) const
 
RAJA_INLINE RAJA_HOST_DEVICE void print_ast () const
 
- Public Member Functions inherited from RAJA::internal::expt::ET::TensorExpressionBase< TensorScalarLiteral< T > >
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 = 0
 

Member Typedef Documentation

◆ self_type

◆ tensor_type

◆ element_type

template<typename T >
using RAJA::internal::expt::ET::TensorScalarLiteral< T >::element_type = T

◆ result_type

template<typename T >
using RAJA::internal::expt::ET::TensorScalarLiteral< T >::result_type = T

◆ index_type

Constructor & Destructor Documentation

◆ TensorScalarLiteral()

template<typename T >
RAJA_INLINE constexpr RAJA_HOST_DEVICE RAJA::internal::expt::ET::TensorScalarLiteral< T >::TensorScalarLiteral ( element_type const &  value)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ getDimSize()

template<typename T >
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type RAJA::internal::expt::ET::TensorScalarLiteral< T >::getDimSize ( index_type  ) const
inlineconstexpr

◆ eval()

template<typename T >
template<typename TILE_TYPE >
RAJA_INLINE RAJA_HOST_DEVICE element_type RAJA::internal::expt::ET::TensorScalarLiteral< T >::eval ( TILE_TYPE const &  ) const
inline

◆ print_ast()

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

Member Data Documentation

◆ s_num_dims

template<typename T >
constexpr camp::idx_t RAJA::internal::expt::ET::TensorScalarLiteral< T >::s_num_dims = 0
staticconstexpr

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