20 #ifndef RAJA_pattern_tensor_ET_ScalarLiteral_HPP
21 #define RAJA_pattern_tensor_ET_ScalarLiteral_HPP
23 #include "RAJA/config.hpp"
65 template<
typename TILE_TYPE>
74 void print_ast()
const { printf(
"ScalarLiteral(%e)", (
double)m_value); }
83 template<
typename RHS>
86 typename
std::enable_if<std::is_arithmetic<RHS>::value>::type>
RAJA header file defining SIMD/SIMT register operations.
Definition: TensorRegister.hpp:46
Definition: ExpressionTemplateBase.hpp:72
Definition: TensorScalarLiteral.hpp:43
RAJA_INLINE constexpr RAJA_HOST_DEVICE index_type getDimSize(index_type) const
Definition: TensorScalarLiteral.hpp:56
RAJA_INLINE RAJA_HOST_DEVICE element_type eval(TILE_TYPE const &) const
Definition: TensorScalarLiteral.hpp:66
RAJA_INLINE RAJA_HOST_DEVICE void print_ast() const
Definition: TensorScalarLiteral.hpp:74
static constexpr camp::idx_t s_num_dims
Definition: TensorScalarLiteral.hpp:51
T result_type
Definition: TensorScalarLiteral.hpp:48
T element_type
Definition: TensorScalarLiteral.hpp:47
RAJA_INLINE constexpr RAJA_HOST_DEVICE TensorScalarLiteral(element_type const &value) noexcept
Definition: TensorScalarLiteral.hpp:61
RAJA::Index_type index_type
Definition: TensorScalarLiteral.hpp:49
Header file for common RAJA internal macro definitions.
#define RAJA_HOST_DEVICE
Definition: macros.hpp:65
Definition: AlignedRangeIndexSetBuilders.cpp:35
std::ptrdiff_t Index_type
Definition: types.hpp:226
Definition: ListSegment.hpp:416
RAJA_INLINE static constexpr RAJA_HOST_DEVICE return_type normalize(RHS const &rhs)
Definition: TensorScalarLiteral.hpp:93
Definition: normalizeOperand.hpp:44