35 #ifndef _BLAZE_MATH_TYPETRAITS_HASSIMDADD_H_
36 #define _BLAZE_MATH_TYPETRAITS_HASSIMDADD_H_
66 struct HasSIMDAddHelper
68 enum :
bool { value =
false };
76 template<
typename T1,
typename T2 >
77 struct HasSIMDAddHelper< T1, T2,
EnableIf_< And< IsNumeric<T1>, IsIntegral<T1>
78 , IsNumeric<T2>, IsIntegral<T2>
79 , Bool< sizeof(T1) ==
sizeof(T2) > > > >
86 template<
typename T >
87 struct HasSIMDAddHelper< complex<T>, complex<T>,
EnableIf_< And< IsNumeric<T>, IsIntegral<T> > > >
100 struct HasSIMDAddHelper< float, float >
108 struct HasSIMDAddHelper< complex<float>, complex<float> >
121 struct HasSIMDAddHelper< double, double >
129 struct HasSIMDAddHelper< complex<double>, complex<double> >
160 template<
typename T1
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
#define BLAZE_MIC_MODE
Compilation switch for the MIC mode.This compilation switch enables/disables the MIC mode...
Definition: Vectorization.h:248
Header file for the IsIntegral type trait.
Header file for the And class template.
Availability of a SIMD addition for the given data types.Depending on the available instruction set (...
Definition: HasSIMDAdd.h:162
#define BLAZE_AVX2_MODE
Compilation switch for the AVX2 mode.This compilation switch enables/disables the AVX2 mode...
Definition: Vectorization.h:231
Header file for the Decay type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_SSE_MODE
Compilation switch for the SSE mode.This compilation switch enables/disables the SSE mode...
Definition: Vectorization.h:129
Header file for the EnableIf class template.
Header file for the IsNumeric type trait.
#define BLAZE_AVX_MODE
Compilation switch for the AVX mode.This compilation switch enables/disables the AVX mode...
Definition: Vectorization.h:214
typename EnableIf< Condition, T >::Type EnableIf_
Auxiliary alias declaration for the EnableIf class template.The EnableIf_ alias declaration provides ...
Definition: EnableIf.h:223
Header file for the IntegralConstant class template.
System settings for the SSE mode.
Header file for the complex data type.
#define BLAZE_SSE2_MODE
Compilation switch for the SSE2 mode.This compilation switch enables/disables the SSE2 mode...
Definition: Vectorization.h:146