Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr > Class Template Reference

#include <BlasUtil.h>

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE BlasLinearMapper (Scalar *data, Index incr)
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void prefetch (int i) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalaroperator() (Index i) const
 
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType loadPacket (Index i) const
 
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType loadPacketPartial (Index i, Index n, Index=0) const
 
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacket (Index i, const PacketType &p) const
 
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacketPartial (Index i, const PacketType &p, Index n, Index=0) const
 

Protected Attributes

Scalarm_data
 
const internal::variable_if_dynamic< Index, Incr > m_incr
 

Constructor & Destructor Documentation

◆ BlasLinearMapper()

template<typename Scalar , typename Index , int AlignmentType, int Incr>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::BlasLinearMapper ( Scalar data,
Index  incr 
)
inline
271 : m_data(data), m_incr(incr) {}
int data[]
Definition: Map_placement_new.cpp:1
const internal::variable_if_dynamic< Index, Incr > m_incr
Definition: BlasUtil.h:300
Scalar * m_data
Definition: BlasUtil.h:299

Member Function Documentation

◆ loadPacket()

template<typename Scalar , typename Index , int AlignmentType, int Incr>
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::loadPacket ( Index  i) const
inline
278  {
279  return pgather<Scalar, PacketType>(m_data + i * m_incr.value(), m_incr.value());
280  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR T value()
Definition: XprHelper.h:161

References i, Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::m_data, Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::m_incr, and Eigen::internal::variable_if_dynamic< T, Value >::value().

◆ loadPacketPartial()

template<typename Scalar , typename Index , int AlignmentType, int Incr>
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::loadPacketPartial ( Index  i,
Index  n,
Index  = 0 
) const
inline

◆ operator()()

◆ prefetch()

template<typename Scalar , typename Index , int AlignmentType, int Incr>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::prefetch ( int  i) const
inline
273 { internal::prefetch(&operator()(i)); }
EIGEN_DEVICE_FUNC void prefetch(const Scalar *addr)
Definition: GenericPacketMath.h:967

References i, and Eigen::internal::prefetch().

◆ storePacket()

template<typename Scalar , typename Index , int AlignmentType, int Incr>
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::storePacket ( Index  i,
const PacketType p 
) const
inline

◆ storePacketPartial()

template<typename Scalar , typename Index , int AlignmentType, int Incr>
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType, Incr >::storePacketPartial ( Index  i,
const PacketType p,
Index  n,
Index  = 0 
) const
inline

Member Data Documentation

◆ m_data

◆ m_incr


The documentation for this class was generated from the following file: