aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Assign_MKL.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2012-06-14 09:49:57 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2012-06-14 09:49:57 +0200
commit324ecf153b9b9ab85297e3087f0376e6c55f78fc (patch)
tree2f89b47025f3131d7f81a438a83049d8bded9bc8 /Eigen/src/Core/Assign_MKL.h
parent9c7b62415a71affa3a8183253f225327d446a833 (diff)
disable the MKL's vm*powx functions on windows
Diffstat (limited to 'Eigen/src/Core/Assign_MKL.h')
-rw-r--r--Eigen/src/Core/Assign_MKL.h3
1 files changed, 3 insertions, 0 deletions
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