One more stupid AVX 512 fix (I don't have direct access to AVX512 machines)

This commit is contained in:
Gael Guennebaud 2018-12-24 13:05:03 +01:00
parent 4aa667b510
commit 60d3fe9a89

View File

@ -276,7 +276,7 @@ EIGEN_STRONG_INLINE Packet16f cat256(Packet8f a, Packet8f b) {
}
#endif
Packet16f pcmp_lt_or_nan(const Packet16f& a, const Packet16f& b) {
template<> EIGEN_STRONG_INLINE Packet16f pcmp_lt_or_nan(const Packet16f& a, const Packet16f& b) {
__m256 lo = _mm256_cmp_ps(extract256<0>(a), extract256<0>(b), _CMP_NGE_UQ);
__m256 hi = _mm256_cmp_ps(extract256<1>(a), extract256<1>(b), _CMP_NGE_UQ);
return cat256(lo, hi);