|Re: [eigen] Eigen containers cannot be vectorized|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
On 2016-12-08 21:46, Marc Glisse wrote:
On Thu, 8 Dec 2016, Francois Fayard wrote:
the following code does not vectorize:
It does with both gcc and clang (depending on the options you pass).
Time to try a better compiler?
Thanks. I have just tried with clang 3.9 and indeed, it does vectorize
the loop. Intel compilers are lost on this one.
But the problem is still there when dealing with matrices made of
Eigen::Index (std::ptrdiff_t, or long int on 64-bit Linux) elements. And
this time, there is no way a compiler can vectorize it because of