yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10946
[Branch ~yade-pkg/yade/git-trunk] Rev 4009: Enable vectorization in eigen3-lib
------------------------------------------------------------
revno: 4009
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Sun 2014-06-08 23:32:06 +0200
message:
Enable vectorization in eigen3-lib
Together with vectorazation some other flags were
removed:
EIGEN_DONT_VECTORIZE
EIGEN_DONT_ALIGN
EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT
EIGEN_NO_DEBUG
It should increase the calculation speed of some
vector-matrixes operations.
modified:
lib/base/Math.hpp
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'lib/base/Math.hpp'
--- lib/base/Math.hpp 2013-08-23 15:21:20 +0000
+++ lib/base/Math.hpp 2014-06-08 21:32:06 +0000
@@ -11,14 +11,6 @@
#include<limits>
#include<cstdlib>
-// disable optimization which are "unsafe":
-// eigen objects cannot be passed by-value, otherwise they will no be aligned
-
-#define EIGEN_DONT_VECTORIZE
-#define EIGEN_DONT_ALIGN
-#define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT
-#define EIGEN_NO_DEBUG
-
#include<Eigen/Core>
#include<Eigen/Geometry>
#include<Eigen/QR>
Follow ups