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)); \
} \
} \
} \
};

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)); \
} \
} \
} \
}; \

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)

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)

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)

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.

s
RealScalar s
Definition: level1_cplx_impl.h:126
d
static const double d[K][N]
Definition: igam.h:11
EIGEN_PP_EXPAND
#define EIGEN_PP_EXPAND(ARG)
Definition: Assign_MKL.h:69
c
Scalar Scalar * c
Definition: benchVecAdd.cpp:17
type
Definition: pytypes.h:1525
EIGEN_VMLMODE_PREFIX
#define EIGEN_VMLMODE_PREFIX(VMLMODE)
Definition: Assign_MKL.h:80
Plain
Definition: timeVirtual.cpp:28
EIGEN_CAT
#define EIGEN_CAT(a, b)
Definition: Macros.h:902
Eigen::scomplex
std::complex< float > scomplex
Definition: MKL_support.h:126
Eigen::dcomplex
std::complex< double > dcomplex
Definition: MKL_support.h:125
gtsam.examples.DogLegOptimizerExample.run
def run(args)
Definition: DogLegOptimizerExample.py:21
pybind_wrapper_test_script.z
z
Definition: pybind_wrapper_test_script.py:61
EIGEN_MKL_VML_DECLARE_UNARY_CALL
#define EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, VMLOP, EIGENTYPE, VMLTYPE, VMLMODE)
Definition: Assign_MKL.h:82
Eigen::LinearTraversal
@ LinearTraversal
Definition: Constants.h:279
EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL
#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(EIGENOP, VMLOP, VMLMODE)
Definition: Assign_MKL.h:107
func
Definition: benchGeometry.cpp:23
Eigen::Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:45