35#ifndef _BLAZE_MATH_FUNCTORS_SHIFTLI_H_
36#define _BLAZE_MATH_FUNCTORS_SHIFTLI_H_
96 template<
typename T >
99 return std::forward<T>( a ) <<
count_;
108 template<
typename T >
109 static constexpr bool simdEnabled() {
return HasSIMDShiftLI_v<T>; }
126 template<
typename T >
152template<
typename T >
170template<
typename MT >
171struct YieldsSymmetric<ShiftLI,MT>
188template<
typename MT >
189struct YieldsLower<ShiftLI,MT>
206template<
typename MT >
207struct YieldsStrictlyLower<ShiftLI,MT>
208 :
public IsStrictlyLower<MT>
224template<
typename MT >
225struct YieldsUpper<ShiftLI,MT>
242template<
typename MT >
243struct YieldsStrictlyUpper<ShiftLI,MT>
244 :
public IsStrictlyUpper<MT>
260template<
typename T >
261struct YieldsZero<ShiftLI,T>
Header file for the HasSIMDShiftLI type trait.
Macro for CUDA compatibility.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUpper type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition: SIMDPack.h:60
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition: IntegralConstant.h:110
Header file for the SIMD left-shift functionality.
Generic wrapper for the uniform left-shift operation.
Definition: ShiftLI.h:78
ShiftLI(int count)
Constructor of the ShiftLI functor.
Definition: ShiftLI.h:85
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the uniform left-shift operation for the given SIMD vector.
Definition: ShiftLI.h:127
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: ShiftLI.h:109
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: ShiftLI.h:117
int count_
The number of bits to shift.
Definition: ShiftLI.h:136
System settings for the inline keywords.
Header file for the IsZero type trait.