aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Product.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-07-06 23:36:00 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-07-06 23:36:00 +0200
commitbfa606d16fcb475025f55b226617c969a623877a (patch)
tree7ce851995e67f922301f4a29ff9fa9c45d3172aa /Eigen/src/Core/Product.h
parent38d0a0d5d6a28ac5cbf1323f85105dfd0a073725 (diff)
* add a IsVectorized mechanism (instead of packet-size>1...)
* vectorize complex<double>
Diffstat (limited to 'Eigen/src/Core/Product.h')
-rw-r--r--Eigen/src/Core/Product.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h
index 707b6ec85..6a205eda9 100644
--- a/Eigen/src/Core/Product.h
+++ b/Eigen/src/Core/Product.h
@@ -376,6 +376,8 @@ template<> struct ei_gemv_selector<OnTheRight,RowMajor,true>
* RhsBlasTraits::extractScalarFactor(prod.rhs());
enum {
+ // FIXME I think here we really have to check for ei_packet_traits<Scalar>::size==1
+ // because in this case it is fine to have an inner stride
DirectlyUseRhs = ((ei_packet_traits<Scalar>::size==1) || (_ActualRhsType::Flags&ActualPacketAccessBit))
&& (!(_ActualRhsType::Flags & RowMajorBit))
};