35 #ifndef _BLAZE_MATH_FUNCTORS_MULT_H_ 36 #define _BLAZE_MATH_FUNCTORS_MULT_H_ 89 template<
typename T1,
typename T2 >
101 template<
typename T1,
typename T2 >
102 static constexpr
bool simdEnabled() {
return HasSIMDMult_v<T1,T2>; }
120 template<
typename T1,
typename T2 >
142 template<
typename T1,
typename T2 >
143 struct YieldsUniform<Mult,T1,T2>
144 :
public BoolConstant< IsUniform_v<T1> && IsUniform_v<T2> >
160 template<
typename MT1,
typename MT2 >
161 struct YieldsLower<Mult,MT1,MT2>
162 :
public BoolConstant< IsLower_v<MT1> || IsLower_v<MT2> >
178 template<
typename MT1,
typename MT2 >
179 struct YieldsUniLower<Mult,MT1,MT2>
180 :
public BoolConstant< ( IsUniLower_v<MT1> && IsUniTriangular_v<MT2> ) ||
181 ( IsUniLower_v<MT2> && IsUniTriangular_v<MT1> ) >
197 template<
typename MT1,
typename MT2 >
198 struct YieldsStrictlyLower<Mult,MT1,MT2>
199 :
public BoolConstant< IsStrictlyLower_v<MT1> || IsStrictlyLower_v<MT2> >
215 template<
typename MT1,
typename MT2 >
216 struct YieldsUpper<Mult,MT1,MT2>
217 :
public BoolConstant< IsUpper_v<MT1> || IsUpper_v<MT2> >
233 template<
typename MT1,
typename MT2 >
234 struct YieldsUniUpper<Mult,MT1,MT2>
235 :
public BoolConstant< ( IsUniUpper_v<MT1> && IsUniTriangular_v<MT2> ) ||
236 ( IsUniUpper_v<MT2> && IsUniTriangular_v<MT1> ) >
252 template<
typename MT1,
typename MT2 >
253 struct YieldsStrictlyUpper<Mult,MT1,MT2>
254 :
public BoolConstant< IsStrictlyUpper_v<MT1> || IsStrictlyUpper_v<MT2> >
270 template<
typename T1,
typename T2 >
271 struct YieldsZero<Mult,T1,T2>
Header file for the IsUniUpper type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsZero type trait.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T1 &a, const T2 &b) const
Returns the result of the multiplication operation for the given SIMD vectors.
Definition: Mult.h:121
Header file for the SIMD multiplication functionality.
Header file for the IsUniLower type trait.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types T1 and T2.
Definition: Mult.h:102
#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 IsStrictlyUpper 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
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Mult.h:110
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsUniLower type trait.
Header file for the IsLower type trait.
Header file for the IsUniTriangular type trait.
Constraint on the data type.
Header file for the IsStrictlyLower type trait.
Header file for the HasSIMDMult type trait.
Header file for the YieldsUpper type trait.
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.
Generic wrapper for the multiplication operator.
Definition: Mult.h:80
Header file for the IntegralConstant class template.
#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.
Header file for the YieldsUniUpper type trait.
System settings for the inline keywords.