Public Types | Public Member Functions | Private Attributes | List of all members
Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment > Class Template Reference

#include <TensorContractionMapper.h>

Public Types

enum  { UseDirectOffsets = ParentMapper::DirectOffsets && (side == Lhs) && inner_dim_contiguous && (array_size<contract_t>::value > 0) }
 
typedef unpacket_traits< Packet >::half HalfPacket
 
typedef Self LinearMapper
 
typedef Tensor::PacketReturnType Packet
 
typedef BaseTensorContractionMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment > ParentMapper
 
typedef TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment > Self
 

Public Member Functions

template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool aligned (Index) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE LinearMapper getLinearMapper (Index i, Index j) const
 
template<typename PacketT , int AlignmentType>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT load (Index i) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE HalfPacket loadHalfPacket (Index i) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet loadPacket (Index i) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet loadPacket (Index i, Index j) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar operator() (Index i) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar operator() (Index i, Index j) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacket (Index i, Packet p) const
 
EIGEN_DEVICE_FUNC TensorContractionSubMapper (const ParentMapper &base_mapper, Index vert_offset, Index horiz_offset)
 

Private Attributes

ParentMapper m_base_mapper
 
const Index m_horiz_offset
 
const Index m_vert_offset
 

Detailed Description

template<typename Scalar, typename Index, int side, typename Tensor, typename nocontract_t, typename contract_t, int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
class Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >

Definition at line 337 of file TensorContractionMapper.h.

Member Typedef Documentation

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
typedef unpacket_traits<Packet>::half Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::HalfPacket

Definition at line 340 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
typedef Self Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::LinearMapper

Definition at line 344 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
typedef Tensor::PacketReturnType Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::Packet

Definition at line 339 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
typedef BaseTensorContractionMapper<Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment> Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::ParentMapper

Definition at line 342 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
typedef TensorContractionSubMapper<Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment> Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::Self

Definition at line 343 of file TensorContractionMapper.h.

Member Enumeration Documentation

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
anonymous enum
Enumerator
UseDirectOffsets 

Definition at line 346 of file TensorContractionMapper.h.

Constructor & Destructor Documentation

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::TensorContractionSubMapper ( const ParentMapper base_mapper,
Index  vert_offset,
Index  horiz_offset 
)
inline

Definition at line 352 of file TensorContractionMapper.h.

Member Function Documentation

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::aligned ( Index  ) const
inline

Definition at line 420 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE LinearMapper Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::getLinearMapper ( Index  i,
Index  j 
) const
inline

Definition at line 402 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
template<typename PacketT , int AlignmentType>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::load ( Index  i) const
inline

Definition at line 410 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE HalfPacket Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::loadHalfPacket ( Index  i) const
inline

Definition at line 388 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::loadPacket ( Index  i) const
inline

Definition at line 375 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::loadPacket ( Index  i,
Index  j 
) const
inline

Definition at line 381 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::operator() ( Index  i) const
inline

Definition at line 362 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::operator() ( Index  i,
Index  j 
) const
inline

Definition at line 368 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::storePacket ( Index  i,
Packet  p 
) const
inline

Definition at line 395 of file TensorContractionMapper.h.

Member Data Documentation

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
ParentMapper Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::m_base_mapper
private

Definition at line 425 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
const Index Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::m_horiz_offset
private

Definition at line 427 of file TensorContractionMapper.h.

template<typename Scalar , typename Index , int side, typename Tensor , typename nocontract_t , typename contract_t , int packet_size, bool inner_dim_contiguous, bool inner_dim_reordered, int Alignment>
const Index Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment >::m_vert_offset
private

Definition at line 426 of file TensorContractionMapper.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:57:06