Go to the source code of this file.
#define EIGEN_MKL_VML_DECLARE_POW_CALL | ( | EIGENOP, | |
VMLOP, | |||
EIGENTYPE, | |||
VMLTYPE | |||
) |
template<> struct vml_call< scalar_##EIGENOP##_op<EIGENTYPE> > { \ enum { IsSupported = 1 }; \ static inline void run( const scalar_##EIGENOP##_op<EIGENTYPE>& func, \ int size, const EIGENTYPE* src, EIGENTYPE* dst) { \ EIGENTYPE exponent = func.m_exponent; \ MKL_INT64 vmlMode = EIGEN_MKL_VML_MODE; \ VMLOP(&size, (const VMLTYPE*)src, (const VMLTYPE*)&exponent, \ (VMLTYPE*)dst, &vmlMode); \ } \ };
Definition at line 162 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALL | ( | EIGENOP, | |
VMLOP, | |||
EIGENTYPE, | |||
VMLTYPE | |||
) |
template<> struct vml_call< scalar_##EIGENOP##_op<EIGENTYPE> > { \ enum { IsSupported = 1 }; \ static inline void run( const scalar_##EIGENOP##_op<EIGENTYPE>& /*func*/, \ int size, const EIGENTYPE* src, EIGENTYPE* dst) { \ VMLOP(size, (const VMLTYPE*)src, (VMLTYPE*)dst); \ } \ };
Definition at line 143 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALL_LA | ( | EIGENOP, | |
VMLOP, | |||
EIGENTYPE, | |||
VMLTYPE | |||
) |
template<> struct vml_call< scalar_##EIGENOP##_op<EIGENTYPE> > { \ enum { IsSupported = 1 }; \ static inline void run( const scalar_##EIGENOP##_op<EIGENTYPE>& /*func*/, \ int size, const EIGENTYPE* src, EIGENTYPE* dst) { \ MKL_INT64 vmlMode = EIGEN_MKL_VML_MODE; \ VMLOP(size, (const VMLTYPE*)src, (VMLTYPE*)dst, vmlMode); \ } \ };
Definition at line 152 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS | ( | EIGENOP, | |
VMLOP | |||
) |
EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(EIGENOP, VMLOP) \ EIGEN_MKL_VML_DECLARE_UNARY_CALLS_COMPLEX(EIGENOP, VMLOP)
Definition at line 182 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_COMPLEX | ( | EIGENOP, | |
VMLOP | |||
) |
EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, vc##VMLOP, scomplex, MKL_Complex8) \ EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, vz##VMLOP, dcomplex, MKL_Complex16)
Definition at line 178 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_COMPLEX_LA | ( | EIGENOP, | |
VMLOP | |||
) |
EIGEN_MKL_VML_DECLARE_UNARY_CALL_LA(EIGENOP, vmc##VMLOP, scomplex, MKL_Complex8) \ EIGEN_MKL_VML_DECLARE_UNARY_CALL_LA(EIGENOP, vmz##VMLOP, dcomplex, MKL_Complex16)
Definition at line 191 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_LA | ( | EIGENOP, | |
VMLOP | |||
) |
EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL_LA(EIGENOP, VMLOP) \ EIGEN_MKL_VML_DECLARE_UNARY_CALLS_COMPLEX_LA(EIGENOP, VMLOP)
Definition at line 195 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL | ( | EIGENOP, | |
VMLOP | |||
) |
EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, vs##VMLOP, float, float) \ EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, vd##VMLOP, double, double)
Definition at line 174 of file Assign_MKL.h.
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL_LA | ( | EIGENOP, | |
VMLOP | |||
) |
EIGEN_MKL_VML_DECLARE_UNARY_CALL_LA(EIGENOP, vms##VMLOP, float, float) \ EIGEN_MKL_VML_DECLARE_UNARY_CALL_LA(EIGENOP, vmd##VMLOP, double, double)
Definition at line 187 of file Assign_MKL.h.
#define EIGEN_MKL_VML_MODE VML_HA |
Definition at line 138 of file Assign_MKL.h.
#define EIGEN_MKL_VML_SPECIALIZE_ASSIGN | ( | TRAVERSAL, | |
UNROLLING | |||
) |
template<typename Derived1, typename Derived2, typename UnaryOp> \ struct assign_impl<Derived1, Eigen::CwiseUnaryOp<UnaryOp, Derived2>, TRAVERSAL, UNROLLING, Specialized> { \ static inline void run(Derived1 &dst, const Eigen::CwiseUnaryOp<UnaryOp, Derived2> &src) { \ vml_assign_impl<Derived1,Derived2,UnaryOp,TRAVERSAL,UNROLLING>::run(dst, src); \ } \ };
Definition at line 116 of file Assign_MKL.h.