35 #ifndef _BLAZE_MATH_FUNCTORS_EXP2_H_ 36 #define _BLAZE_MATH_FUNCTORS_EXP2_H_ 75 template<
typename T >
87 template<
typename T >
88 static constexpr
bool simdEnabled() {
return HasSIMDExp2_v<T>; }
105 template<
typename T >
126 template<
typename T >
127 struct YieldsUniform<Exp2,T>
128 :
public IsUniform<T>
144 template<
typename MT >
145 struct YieldsSymmetric<Exp2,MT>
146 :
public IsSymmetric<MT>
Header file for the exp2 shim.
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Exp2.h:96
#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
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
decltype(auto) exp2(const DenseMatrix< MT, SO > &dm)
Computes for each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1660
Header file for the SIMD exp2 functionality.
Generic wrapper for the exp2() function.
Definition: Exp2.h:67
Constraint on the data type.
Header file for the YieldsSymmetric type trait.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the exp2() function for the given SIMD vector.
Definition: Exp2.h:106
Macro for CUDA compatibility.
Header file for the HasSIMDExp2 type trait.
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
System settings for the inline keywords.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Exp2.h:88