| 592 | |
| 593 | /** \internal \returns the min of \a a and \a b (coeff-wise) */ |
| 594 | template<typename Packet> EIGEN_DEVICE_FUNC inline Packet |
| 595 | pabsdiff(const Packet& a, const Packet& b) { return pselect(pcmp_lt(a, b), psub(b, a), psub(a, b)); } |
| 596 | |
| 597 | /** \internal \returns a packet version of \a *from, from must be 16 bytes aligned */ |
| 598 | template<typename Packet> EIGEN_DEVICE_FUNC inline Packet |