Try to reduce compilation time/memory for GEBP kernel using EIGEN_IF_CONSTEXPR

This commit is contained in:
Rasmus Munk Larsen
2022-09-23 20:09:42 +00:00
parent 3c4637640b
commit 13b69fc1b0
3 changed files with 23 additions and 16 deletions

View File

@@ -28,12 +28,6 @@
#define EIGEN_USE_AVX512_TRSM_L_KERNELS 0
#endif
#if defined(EIGEN_HAS_CXX17_IFCONSTEXPR)
#define EIGEN_IF_CONSTEXPR(X) if constexpr (X)
#else
#define EIGEN_IF_CONSTEXPR(X) if (X)
#endif
// Need this for some std::min calls.
#ifdef min
#undef min