35 #ifndef _BLAZE_MATH_FUNCTORS_SHIFTLI_H_ 36 #define _BLAZE_MATH_FUNCTORS_SHIFTLI_H_ 95 template<
typename T >
107 template<
typename T >
108 static constexpr
bool simdEnabled() {
return HasSIMDShiftLI_v<T>; }
125 template<
typename T >
151 template<
typename T >
169 template<
typename MT >
170 struct YieldsSymmetric<ShiftLI,MT>
187 template<
typename MT >
188 struct YieldsLower<ShiftLI,MT>
205 template<
typename MT >
206 struct YieldsStrictlyLower<ShiftLI,MT>
207 :
public IsStrictlyLower<MT>
223 template<
typename MT >
224 struct YieldsUpper<ShiftLI,MT>
241 template<
typename MT >
242 struct YieldsStrictlyUpper<ShiftLI,MT>
243 :
public IsStrictlyUpper<MT>
259 template<
typename T >
260 struct YieldsZero<ShiftLI,T>
Generic wrapper for the uniform left-shift operation.
Definition: ShiftLI.h:76
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsZero type trait.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the uniform left-shift operation for the given SIMD vector.
Definition: ShiftLI.h:126
Header file for the HasSIMDShiftLI type trait.
int count_
The number of bits to shift.
Definition: ShiftLI.h:135
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.In case the given data type T is not a SIMD pack, a compilation error is ...
Definition: SIMDPack.h:60
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: ShiftLI.h:116
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the YieldsStrictlyUpper type trait.
Header file for the IsLower type trait.
Constraint on the data type.
Header file for the IsStrictlyLower type trait.
ShiftLI(int count)
Constructor of the ShiftLI functor.
Definition: ShiftLI.h:84
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the SIMD left-shift functionality.
Header file for the IsZero type trait.
Header file for the YieldsLower type trait.
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.The BoolConstant alias template represents ...
Definition: IntegralConstant.h:110
Macro for CUDA compatibility.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: ShiftLI.h:108
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
Header file for the IsUpper type trait.
System settings for the inline keywords.