MOAB
4.9.3pre
|
Enforce aligned packet loads and stores regardless of what is requested. More...
#include <ForceAlignedAccess.h>
Public Types | |
typedef internal::dense_xpr_base < ForceAlignedAccess >::type | Base |
Public Member Functions | |
EIGEN_DEVICE_FUNC | ForceAlignedAccess (const ExpressionType &matrix) |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC Index | outerStride () const |
EIGEN_DEVICE_FUNC Index | innerStride () const |
EIGEN_DEVICE_FUNC const CoeffReturnType | coeff (Index row, Index col) const |
EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index row, Index col) |
EIGEN_DEVICE_FUNC const CoeffReturnType | coeff (Index index) const |
EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index index) |
template<int LoadMode> | |
const PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
void | writePacket (Index row, Index col, const PacketScalar &x) |
template<int LoadMode> | |
const PacketScalar | packet (Index index) const |
template<int LoadMode> | |
void | writePacket (Index index, const PacketScalar &x) |
EIGEN_DEVICE_FUNC | operator const ExpressionType & () const |
Protected Attributes | |
const ExpressionType & | m_expression |
Private Member Functions | |
ForceAlignedAccess & | operator= (const ForceAlignedAccess &) |
Enforce aligned packet loads and stores regardless of what is requested.
ExpressionType | the type of the object of which we are forcing aligned packet access |
This class is the return type of MatrixBase::forceAlignedAccess() and most of the time this is the only way it is used.
Definition at line 34 of file ForceAlignedAccess.h.
typedef internal::dense_xpr_base<ForceAlignedAccess>::type Eigen::ForceAlignedAccess< ExpressionType >::Base |
Definition at line 39 of file ForceAlignedAccess.h.
EIGEN_DEVICE_FUNC Eigen::ForceAlignedAccess< ExpressionType >::ForceAlignedAccess | ( | const ExpressionType & | matrix | ) | [inline, explicit] |
Definition at line 42 of file ForceAlignedAccess.h.
: m_expression(matrix) {}
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::ForceAlignedAccess< ExpressionType >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 49 of file ForceAlignedAccess.h.
{ return m_expression.coeff(row, col); }
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::ForceAlignedAccess< ExpressionType >::coeff | ( | Index | index | ) | const [inline] |
Definition at line 59 of file ForceAlignedAccess.h.
{ return m_expression.coeff(index); }
EIGEN_DEVICE_FUNC Scalar& Eigen::ForceAlignedAccess< ExpressionType >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 54 of file ForceAlignedAccess.h.
{ return m_expression.const_cast_derived().coeffRef(row, col); }
EIGEN_DEVICE_FUNC Scalar& Eigen::ForceAlignedAccess< ExpressionType >::coeffRef | ( | Index | index | ) | [inline] |
Definition at line 64 of file ForceAlignedAccess.h.
{ return m_expression.const_cast_derived().coeffRef(index); }
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::cols | ( | void | ) | const [inline] |
Definition at line 45 of file ForceAlignedAccess.h.
{ return m_expression.cols(); }
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::innerStride | ( | ) | const [inline] |
Definition at line 47 of file ForceAlignedAccess.h.
{ return m_expression.innerStride(); }
EIGEN_DEVICE_FUNC Eigen::ForceAlignedAccess< ExpressionType >::operator const ExpressionType & | ( | ) | const [inline] |
Definition at line 93 of file ForceAlignedAccess.h.
{ return m_expression; }
ForceAlignedAccess& Eigen::ForceAlignedAccess< ExpressionType >::operator= | ( | const ForceAlignedAccess< ExpressionType > & | ) | [private] |
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::outerStride | ( | ) | const [inline] |
Definition at line 46 of file ForceAlignedAccess.h.
{ return m_expression.outerStride(); }
const PacketScalar Eigen::ForceAlignedAccess< ExpressionType >::packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 70 of file ForceAlignedAccess.h.
{ return m_expression.template packet<Aligned>(row, col); }
const PacketScalar Eigen::ForceAlignedAccess< ExpressionType >::packet | ( | Index | index | ) | const [inline] |
Definition at line 82 of file ForceAlignedAccess.h.
{ return m_expression.template packet<Aligned>(index); }
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::rows | ( | void | ) | const [inline] |
Definition at line 44 of file ForceAlignedAccess.h.
{ return m_expression.rows(); }
void Eigen::ForceAlignedAccess< ExpressionType >::writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
Definition at line 76 of file ForceAlignedAccess.h.
{ m_expression.const_cast_derived().template writePacket<Aligned>(row, col, x); }
void Eigen::ForceAlignedAccess< ExpressionType >::writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
Definition at line 88 of file ForceAlignedAccess.h.
{ m_expression.const_cast_derived().template writePacket<Aligned>(index, x); }
const ExpressionType& Eigen::ForceAlignedAccess< ExpressionType >::m_expression [protected] |
Definition at line 96 of file ForceAlignedAccess.h.