35#ifndef _BLAZE_MATH_TYPETRAITS_HASSIMDSUB_H_
36#define _BLAZE_MATH_TYPETRAITS_HASSIMDSUB_H_
68struct HasSIMDSubHelper
77template<
typename T1,
typename T2 >
80 sizeof(T1) ==
sizeof(T2) > >
103struct HasSIMDSubHelper< float, float >
105 bool( BLAZE_AVX_MODE ) ||
106 bool( BLAZE_MIC_MODE ) ||
107 bool( BLAZE_AVX512F_MODE ) >
111struct HasSIMDSubHelper< complex<float>, complex<float> >
113 bool( BLAZE_AVX_MODE ) ||
114 bool( BLAZE_MIC_MODE ) ||
115 bool( BLAZE_AVX512F_MODE ) >
124struct HasSIMDSubHelper< double, double >
126 bool( BLAZE_AVX_MODE ) ||
127 bool( BLAZE_MIC_MODE ) ||
128 bool( BLAZE_AVX512F_MODE ) >
132struct HasSIMDSubHelper< complex<double>, complex<double> >
134 bool( BLAZE_AVX_MODE ) ||
135 bool( BLAZE_MIC_MODE ) ||
136 bool( BLAZE_AVX512F_MODE ) >
167 :
public BoolConstant< HasSIMDSubHelper< RemoveCVRef_t<T1>, RemoveCVRef_t<T2> >::value >
Header file for the complex data type.
Header file for the EnableIf class template.
Header file for the IntegralConstant class template.
Header file for the IsIntegral type trait.
Header file for the IsNumeric type trait.
Header file for the RemoveCVRef type trait.
constexpr bool HasSIMDSub_v
Auxiliary variable template for the HasSIMDSub type trait.
Definition HasSIMDSub.h:187
#define BLAZE_AVX512F_MODE
Compilation switch for the AVX512F mode.
Definition Vectorization.h:246
#define BLAZE_AVX512BW_MODE
Compilation switch for the AVX512BW mode.
Definition Vectorization.h:264
#define BLAZE_AVX2_MODE
Compilation switch for the AVX2 mode.
Definition Vectorization.h:228
#define BLAZE_MIC_MODE
Compilation switch for the MIC mode.
Definition Vectorization.h:299
#define BLAZE_SSE2_MODE
Compilation switch for the SSE2 mode.
Definition Vectorization.h:143
constexpr bool IsNumeric_v
Auxiliary variable template for the IsNumeric type trait.
Definition IsNumeric.h:132
constexpr bool IsIntegral_v
Auxiliary variable template for the IsIntegral type trait.
Definition IsIntegral.h:95
BoolConstant< false > FalseType
Type/value traits base class.
Definition IntegralConstant.h:121
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.
Definition EnableIf.h:138
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition IntegralConstant.h:110
Availability of a SIMD subtraction for the given data types.
Definition HasSIMDSub.h:168
System settings for the SSE mode.