Classes | Namespaces | Macros
Assign_MKL.h File Reference

Go to the source code of this file.

Classes

class  Eigen::internal::vml_assign_traits< Dst, Src >
 

Namespaces

 Eigen
 Namespace containing all symbols from the Eigen library.
 
 Eigen::internal
 

Macros

#define EIGEN_MKL_VML_DECLARE_POW_CALL(EIGENOP, VMLOP, EIGENTYPE, VMLTYPE, VMLMODE)
 
#define EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, VMLOP, EIGENTYPE, VMLTYPE, VMLMODE)
 
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS(EIGENOP, VMLOP, VMLMODE)
 
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_CPLX(EIGENOP, VMLOP, VMLMODE)
 
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(EIGENOP, VMLOP, VMLMODE)
 
#define EIGEN_PP_EXPAND(ARG)   ARG
 
#define EIGEN_VMLMODE_EXPAND_x_
 
#define EIGEN_VMLMODE_EXPAND_xLA   , VML_HA
 
#define EIGEN_VMLMODE_PREFIX(VMLMODE)   EIGEN_CAT(EIGEN_VMLMODE_PREFIX_x,VMLMODE)
 
#define EIGEN_VMLMODE_PREFIX_x_   v
 
#define EIGEN_VMLMODE_PREFIX_xLA   vm
 

Macro Definition Documentation

◆ EIGEN_MKL_VML_DECLARE_POW_CALL

#define EIGEN_MKL_VML_DECLARE_POW_CALL (   EIGENOP,
  VMLOP,
  EIGENTYPE,
  VMLTYPE,
  VMLMODE 
)
Value:
template< typename DstXprType, typename SrcXprNested, typename Plain> \
struct Assignment<DstXprType, CwiseBinaryOp<scalar_##EIGENOP##_op<EIGENTYPE,EIGENTYPE>, SrcXprNested, \
const CwiseNullaryOp<internal::scalar_constant_op<EIGENTYPE>,Plain> >, assign_op<EIGENTYPE,EIGENTYPE>, \
Dense2Dense, typename enable_if<vml_assign_traits<DstXprType,SrcXprNested>::EnableVml>::type> { \
typedef CwiseBinaryOp<scalar_##EIGENOP##_op<EIGENTYPE,EIGENTYPE>, SrcXprNested, \
const CwiseNullaryOp<internal::scalar_constant_op<EIGENTYPE>,Plain> > SrcXprType; \
static void run(DstXprType &dst, const SrcXprType &src, const assign_op<EIGENTYPE,EIGENTYPE> &func) { \
resize_if_allowed(dst, src, func); \
eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); \
VMLTYPE exponent = reinterpret_cast<const VMLTYPE&>(src.rhs().functor().m_other); \
if(vml_assign_traits<DstXprType,SrcXprNested>::Traversal==LinearTraversal) \
{ \
VMLOP( dst.size(), (const VMLTYPE*)src.lhs().data(), exponent, \
(VMLTYPE*)dst.data() EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE) ); \
} else { \
const Index outerSize = dst.outerSize(); \
for(Index outer = 0; outer < outerSize; ++outer) { \
const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.lhs().coeffRef(outer,0)) : \
&(src.lhs().coeffRef(0, outer)); \
EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \
VMLOP( dst.innerSize(), (const VMLTYPE*)src_ptr, exponent, \
(VMLTYPE*)dst_ptr EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE)); \
} \
} \
} \
};
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
#define EIGEN_PP_EXPAND(ARG)
Definition: Assign_MKL.h:69
Definition: pytypes.h:1370

Definition at line 141 of file Assign_MKL.h.

◆ EIGEN_MKL_VML_DECLARE_UNARY_CALL

#define EIGEN_MKL_VML_DECLARE_UNARY_CALL (   EIGENOP,
  VMLOP,
  EIGENTYPE,
  VMLTYPE,
  VMLMODE 
)
Value:
template< typename DstXprType, typename SrcXprNested> \
struct Assignment<DstXprType, CwiseUnaryOp<scalar_##EIGENOP##_op<EIGENTYPE>, SrcXprNested>, assign_op<EIGENTYPE,EIGENTYPE>, \
Dense2Dense, typename enable_if<vml_assign_traits<DstXprType,SrcXprNested>::EnableVml>::type> { \
typedef CwiseUnaryOp<scalar_##EIGENOP##_op<EIGENTYPE>, SrcXprNested> SrcXprType; \
static void run(DstXprType &dst, const SrcXprType &src, const assign_op<EIGENTYPE,EIGENTYPE> &func) { \
resize_if_allowed(dst, src, func); \
eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); \
if(vml_assign_traits<DstXprType,SrcXprNested>::Traversal==LinearTraversal) { \
VMLOP(dst.size(), (const VMLTYPE*)src.nestedExpression().data(), \
(VMLTYPE*)dst.data() EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE) ); \
} else { \
const Index outerSize = dst.outerSize(); \
for(Index outer = 0; outer < outerSize; ++outer) { \
const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.nestedExpression().coeffRef(outer,0)) : \
&(src.nestedExpression().coeffRef(0, outer)); \
EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \
VMLOP( dst.innerSize(), (const VMLTYPE*)src_ptr, \
(VMLTYPE*)dst_ptr EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE)); \
} \
} \
} \
}; \
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
#define EIGEN_PP_EXPAND(ARG)
Definition: Assign_MKL.h:69
Definition: pytypes.h:1370

Definition at line 82 of file Assign_MKL.h.

◆ EIGEN_MKL_VML_DECLARE_UNARY_CALLS

#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS (   EIGENOP,
  VMLOP,
  VMLMODE 
)
Value:
EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(EIGENOP, VMLOP, VMLMODE) \
EIGEN_MKL_VML_DECLARE_UNARY_CALLS_CPLX(EIGENOP, VMLOP, VMLMODE)
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(EIGENOP, VMLOP, VMLMODE)
Definition: Assign_MKL.h:107

Definition at line 115 of file Assign_MKL.h.

◆ EIGEN_MKL_VML_DECLARE_UNARY_CALLS_CPLX

#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_CPLX (   EIGENOP,
  VMLOP,
  VMLMODE 
)
Value:
EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),c##VMLOP), scomplex, MKL_Complex8, VMLMODE) \
EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),z##VMLOP), dcomplex, MKL_Complex16, VMLMODE)
#define EIGEN_CAT(a, b)
Definition: Macros.h:902
Scalar Scalar * c
Definition: benchVecAdd.cpp:17
#define EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, VMLOP, EIGENTYPE, VMLTYPE, VMLMODE)
Definition: Assign_MKL.h:82
std::complex< float > scomplex
Definition: MKL_support.h:126
std::complex< double > dcomplex
Definition: MKL_support.h:125
#define EIGEN_VMLMODE_PREFIX(VMLMODE)
Definition: Assign_MKL.h:80

Definition at line 111 of file Assign_MKL.h.

◆ EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL

#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL (   EIGENOP,
  VMLOP,
  VMLMODE 
)
Value:
EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),s##VMLOP), float, float, VMLMODE) \
EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),d##VMLOP), double, double, VMLMODE)
#define EIGEN_CAT(a, b)
Definition: Macros.h:902
#define EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, VMLOP, EIGENTYPE, VMLTYPE, VMLMODE)
Definition: Assign_MKL.h:82
RealScalar s
#define EIGEN_VMLMODE_PREFIX(VMLMODE)
Definition: Assign_MKL.h:80

Definition at line 107 of file Assign_MKL.h.

◆ EIGEN_PP_EXPAND

#define EIGEN_PP_EXPAND (   ARG)    ARG

Definition at line 69 of file Assign_MKL.h.

◆ EIGEN_VMLMODE_EXPAND_x_

#define EIGEN_VMLMODE_EXPAND_x_

Definition at line 76 of file Assign_MKL.h.

◆ EIGEN_VMLMODE_EXPAND_xLA

#define EIGEN_VMLMODE_EXPAND_xLA   , VML_HA

Definition at line 71 of file Assign_MKL.h.

◆ EIGEN_VMLMODE_PREFIX

#define EIGEN_VMLMODE_PREFIX (   VMLMODE)    EIGEN_CAT(EIGEN_VMLMODE_PREFIX_x,VMLMODE)

Definition at line 80 of file Assign_MKL.h.

◆ EIGEN_VMLMODE_PREFIX_x_

#define EIGEN_VMLMODE_PREFIX_x_   v

Definition at line 79 of file Assign_MKL.h.

◆ EIGEN_VMLMODE_PREFIX_xLA

#define EIGEN_VMLMODE_PREFIX_xLA   vm

Definition at line 78 of file Assign_MKL.h.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:47