From 324ecf153b9b9ab85297e3087f0376e6c55f78fc Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 14 Jun 2012 09:49:57 +0200 Subject: [PATCH] disable the MKL's vm*powx functions on windows --- Eigen/src/Core/Assign_MKL.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Eigen/src/Core/Assign_MKL.h b/Eigen/src/Core/Assign_MKL.h index f96b0eb22..428c6367b 100644 --- a/Eigen/src/Core/Assign_MKL.h +++ b/Eigen/src/Core/Assign_MKL.h @@ -209,10 +209,13 @@ EIGEN_MKL_VML_DECLARE_UNARY_CALLS_LA(sqrt, Sqrt) EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(square, Sqr) +// The vm*powx functions are not avaibale in the windows version of MKL. +#ifdef _WIN32 EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmspowx_, float, float) EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmdpowx_, double, double) EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmcpowx_, scomplex, MKL_Complex8) EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmzpowx_, dcomplex, MKL_Complex16) +#endif } // end namespace internal