We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584951c commit 40b4bf3Copy full SHA for 40b4bf3
Eigen/Core
@@ -183,6 +183,9 @@
183
#ifdef __AVX512DQ__
184
#define EIGEN_VECTORIZE_AVX512DQ
185
#endif
186
+ #ifdef __AVX512ER__
187
+ #define EIGEN_VECTORIZE_AVX512ER
188
+ #endif
189
190
191
// include files
Eigen/src/Core/arch/AVX512/MathFunctions.h
@@ -375,7 +375,7 @@ prsqrt<Packet8d>(const Packet8d& _x) {
375
// Insert NaNs and Infs in all the right places.
376
return _mm512_mask_blend_pd(le_zero_mask, x, infs_and_nans);
377
}
378
-#else
+#elif defined(EIGEN_VECTORIZE_AVX512ER)
379
template <>
380
EIGEN_STRONG_INLINE Packet16f prsqrt<Packet16f>(const Packet16f& x) {
381
return _mm512_rsqrt28_ps(x);
0 commit comments