Re: [eigen] Eigen containers cannot be vectorized |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Hi Joseph,what about this: I was too quick to reply. It does not work, compiled with icpc -c -std=c++11 -O3 -xHost -DNDEBUG I can’t really explain what is going on. I have tried to walk the accessor (A(i, j)) through the debugger, and it is not straightforward code for the compiler. There is a pointer cast that might disconnect any optimizer. So, I can’t easily provide you with a solution. I was also surprised to see that in debug mode, bounds checking is done with: assert(i >=0 && i < n). This can be optimized into assert(static_cast<std::size_t>(i) < static_cast<std::size_t>(n)). François Fayard Founder & Consultant - Inside Loop |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |