diff options
author | 2010-07-06 23:36:00 +0200 | |
---|---|---|
committer | 2010-07-06 23:36:00 +0200 | |
commit | bfa606d16fcb475025f55b226617c969a623877a (patch) | |
tree | 7ce851995e67f922301f4a29ff9fa9c45d3172aa /Eigen/src/Core/GenericPacketMath.h | |
parent | 38d0a0d5d6a28ac5cbf1323f85105dfd0a073725 (diff) |
* add a IsVectorized mechanism (instead of packet-size>1...)
* vectorize complex<double>
Diffstat (limited to 'Eigen/src/Core/GenericPacketMath.h')
-rw-r--r-- | Eigen/src/Core/GenericPacketMath.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h index 6cd288c55..6fb3eea19 100644 --- a/Eigen/src/Core/GenericPacketMath.h +++ b/Eigen/src/Core/GenericPacketMath.h @@ -82,15 +82,21 @@ struct ei_default_packet_traits template<typename T> struct ei_packet_traits : ei_default_packet_traits { typedef T type; - enum {size=1}; + enum { + IsVectorized = 0, + size = 1 + }; enum { HasAdd = 0, HasSub = 0, HasMul = 0, HasNegate = 0, HasAbs = 0, + HasAbs2 = 0, HasMin = 0, - HasMax = 0 + HasMax = 0, + HasConj = 0, + HasSetLinear = 0 }; }; |