HasSIMDErfc.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_HASSIMDERFC_H_
36 #define _BLAZE_MATH_TYPETRAITS_HASSIMDERFC_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
48 
49 
50 namespace blaze {
51 
52 //=================================================================================================
53 //
54 // CLASS DEFINITION
55 //
56 //=================================================================================================
57 
58 //*************************************************************************************************
63 template< typename T > // Type of the operand
64 using HasSIMDErfcHelper =
65  BoolConstant< ( IsFloat_v<T> || IsDouble_v<T> ) &&
66  bool( BLAZE_SVML_MODE ) &&
67  ( bool( BLAZE_SSE_MODE ) ||
68  bool( BLAZE_AVX_MODE ) ||
69  bool( BLAZE_MIC_MODE ) ||
70  bool( BLAZE_AVX512F_MODE ) ) >;
72 //*************************************************************************************************
73 
74 
75 //*************************************************************************************************
97 template< typename T > // Type of the operand
99  : public BoolConstant< HasSIMDErfcHelper< Decay_t<T> >::value >
100 {};
101 //*************************************************************************************************
102 
103 
104 //*************************************************************************************************
117 template< typename T > // Type of the operand
119 //*************************************************************************************************
120 
121 } // namespace blaze
122 
123 #endif
#define BLAZE_AVX512F_MODE
Compilation switch for the AVX512F mode.This compilation switch enables/disables the AVX512F mode...
Definition: Vectorization.h:246
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:299
Header file for the IsFloat type trait.
Header file for the Decay type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the IsDouble type trait.
#define BLAZE_SSE_MODE
Compilation switch for the SSE mode.This compilation switch enables/disables the SSE mode...
Definition: Vectorization.h:126
constexpr bool HasSIMDErfc_v
Auxiliary variable template for the HasSIMDErfc type trait.The HasSIMDErfc_v variable template provid...
Definition: HasSIMDErfc.h:118
Availability of a SIMD complementary error function (erfc) operation for the given data type...
Definition: HasSIMDErfc.h:98
#define BLAZE_AVX_MODE
Compilation switch for the AVX mode.This compilation switch enables/disables the AVX mode...
Definition: Vectorization.h:211
#define BLAZE_SVML_MODE
Compilation switch for the SVML mode.This compilation switch enables/disables the SVML mode...
Definition: Vectorization.h:349
Header file for the IntegralConstant class template.
System settings for the SSE mode.