VCTR
Loading...
Searching...
No Matches
vctr::expressions::Clamp< extent, SrcType, ClampLow, ClampHigh > Class Template Reference
Inheritance diagram for vctr::expressions::Clamp< extent, SrcType, ClampLow, ClampHigh >:
vctr::ExpressionTemplateBase

Public Types

using value_type = ValueType< SrcType >
 

Public Member Functions

constexpr void applyRuntimeArgs (value_type newLowerBound, value_type newUpperBound)
 
VCTR_FORCEDINLINE constexpr value_type operator[] (size_t i) const
 
VCTR_FORCEDINLINE const value_type * evalNextVectorOpInExpressionChain (value_type *dst) const
 
VCTR_FORCEDINLINE const value_type * evalNextVectorOpInExpressionChain (value_type *dst) const
 
VCTR_FORCEDINLINE VCTR_TARGET ("avx") void prepareAVXEvaluation() const
 
VCTR_FORCEDINLINE VCTR_TARGET ("avx2") void prepareAVXEvaluation() const
 
VCTR_FORCEDINLINE VCTR_TARGET ("fma") AVXRegister< value_type > getAVX(size_t i) const
 
VCTR_FORCEDINLINE VCTR_TARGET ("avx2") AVXRegister< value_type > getAVX(size_t i) const
 
VCTR_FORCEDINLINE VCTR_TARGET ("sse4.1") void prepareSSEEvaluation() const
 
VCTR_FORCEDINLINE VCTR_TARGET ("sse4.1") SSERegister< value_type > getSSE(size_t i) const
 
void prepareNeonEvaluation () const
 
NeonRegister< value_type > getNeon (size_t i) const
 

Static Public Attributes

static constexpr bool supportsSIMDMinMax = Expression::CommonElement::isRealFloat || Expression::CommonElement::isInt32 || Expression::CommonElement::isUint32
 All SIMD register types offer min and max for these types.
 
static constexpr bool clampLow = ClampLow::value
 
static constexpr bool clampHigh = ClampHigh::value
 

Member Data Documentation

◆ supportsSIMDMinMax

template<size_t extent, class SrcType , is::constantWithType< bool > ClampLow, is::constantWithType< bool > ClampHigh>
constexpr bool vctr::expressions::Clamp< extent, SrcType, ClampLow, ClampHigh >::supportsSIMDMinMax = Expression::CommonElement::isRealFloat || Expression::CommonElement::isInt32 || Expression::CommonElement::isUint32
staticconstexpr

All SIMD register types offer min and max for these types.


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