35 #ifndef _BLAZE_UTIL_ALIGNMENTTRAIT_H_
36 #define _BLAZE_UTIL_ALIGNMENTTRAIT_H_
43 #include <boost/type_traits/alignment_of.hpp>
78 template<
typename T >
91 enum { value = boost::alignment_of<T>::value };
118 enum { value = 64UL };
120 enum { value = 32UL };
122 enum { value = 16UL };
124 enum { value = boost::alignment_of<float>::value };
143 enum { value = 64UL };
145 enum { value = 32UL };
147 enum { value = 16UL };
149 enum { value = boost::alignment_of<double>::value };
168 enum { value = 64UL };
170 enum { value = 32UL };
172 enum { value = 16UL };
174 enum { value = boost::alignment_of< complex<float> >::value };
193 enum { value = 64UL };
195 enum { value = 32UL };
197 enum { value = 16UL };
199 enum { value = boost::alignment_of< complex<double> >::value };
Compile time check for vectorizable types.Depending on the available instruction set (SSE...
Definition: IsVectorizable.h:108
#define BLAZE_CONSTRAINT_MUST_NOT_BE_CONST(T)
Constraint on the data type.In case the given data type is a const-qualified type, a compilation error is created.
Definition: Const.h:116
#define BLAZE_CONSTRAINT_MUST_NOT_BE_VOLATILE(T)
Constraint on the data type.In case the given data type is a volatile-qualified type, a compilation error is created.
Definition: Volatile.h:116
Constraint on the data type.
Header file for the IsVectorizable type trait.
Constraint on the data type.
Evaluation of the required alignment of the given data type.The AlignmentTrait class template evaluat...
Definition: AlignmentTrait.h:79
System settings for the SSE mode.
Header file for the complex data type.