Re: [eigen] Eigen containers cannot be vectorized

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I agree, but there is no way to use restrict with containers. Maybe #pragma ivdep would be better, but it is not standard.

On 2016-12-08 22:05, Matthieu Brucher wrote:
Well, this pragma is still quite strong as it forces the compiler to
vectorize even when it thinks it should not do it.
The first pass should always be to use restrict first, check the
vectorizing reports and then force the vectorization with prior
knowledge (IMHO).

Cheers,

Matthieu




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/