split sum away from redux and vectorize it.

(could come back to redux after it has been vectorized,
and could serve as a starting point for that)
also make the abs2 functor vectorizable (for real types).
This commit is contained in:
Benoit Jacob
2008-06-23 10:32:48 +00:00
parent 8a967fb17c
commit dc9206cec5
6 changed files with 301 additions and 39 deletions

View File

@@ -142,5 +142,18 @@ enum CornerType { TopLeft, TopRight, BottomLeft, BottomRight };
enum DirectionType { Vertical, Horizontal };
enum ProductEvaluationMode { NormalProduct, CacheFriendlyProduct, DiagonalProduct };
enum {
NoVectorization,
InnerVectorization,
LinearVectorization,
SliceVectorization
};
enum {
CompleteUnrolling,
InnerUnrolling,
NoUnrolling
};
#endif // EIGEN_CONSTANTS_H