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, MakePointer_ > Class Template Reference

#include <TensorContractionMapper.h>

Public Types

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

Public Member Functions

template<typename PacketT >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool aligned (Index) const
 
const ParentMapperbase_mapper () const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE LinearMapper getLinearMapper (Index i, Index j) const
 
Index horiz_offset () const
 
template<typename PacketT , int AlignmentType>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT load (Index i) const
 
template<typename PacketT >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT loadPacket (Index i) const
 
template<typename PacketT >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT loadPacket (Index i, Index j) const
 
template<typename PacketT , int AlignmentType>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT 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
 
template<typename PacketT >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacket (Index i, const PacketT &p) const
 
EIGEN_DEVICE_FUNC TensorContractionSubMapper (const ParentMapper &base_mapper, Index vert_offset, Index horiz_offset)
 
Index vert_offset () const
 

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, template< class > class MakePointer_ = MakePointer>
class Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >

Definition at line 411 of file TensorContractionMapper.h.

Member Typedef Documentation

◆ LinearMapper

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< class > class MakePointer_ = MakePointer>
typedef Self Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::LinearMapper

Definition at line 416 of file TensorContractionMapper.h.

◆ ParentMapper

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< class > class MakePointer_ = MakePointer>
typedef BaseTensorContractionMapper<Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_> Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::ParentMapper

Definition at line 414 of file TensorContractionMapper.h.

◆ Self

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< class > class MakePointer_ = MakePointer>
typedef TensorContractionSubMapper<Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_> Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::Self

Definition at line 415 of file TensorContractionMapper.h.

Member Enumeration Documentation

◆ anonymous enum

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< class > class MakePointer_ = MakePointer>
anonymous enum
Enumerator
UseDirectOffsets 

Definition at line 418 of file TensorContractionMapper.h.

Constructor & Destructor Documentation

◆ TensorContractionSubMapper()

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< class > class MakePointer_ = MakePointer>
EIGEN_DEVICE_FUNC Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::TensorContractionSubMapper ( const ParentMapper base_mapper,
Index  vert_offset,
Index  horiz_offset 
)
inline

Definition at line 424 of file TensorContractionMapper.h.

Member Function Documentation

◆ aligned()

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< class > class MakePointer_ = MakePointer>
template<typename PacketT >
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, MakePointer_ >::aligned ( Index  ) const
inline

Definition at line 497 of file TensorContractionMapper.h.

◆ base_mapper()

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< class > class MakePointer_ = MakePointer>
const ParentMapper& Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::base_mapper ( ) const
inline

Definition at line 508 of file TensorContractionMapper.h.

◆ getLinearMapper()

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< class > class MakePointer_ = MakePointer>
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, MakePointer_ >::getLinearMapper ( Index  i,
Index  j 
) const
inline

Definition at line 479 of file TensorContractionMapper.h.

◆ horiz_offset()

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< class > class MakePointer_ = MakePointer>
Index Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::horiz_offset ( ) const
inline

Definition at line 510 of file TensorContractionMapper.h.

◆ load()

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< class > class MakePointer_ = MakePointer>
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, MakePointer_ >::load ( Index  i) const
inline

Definition at line 487 of file TensorContractionMapper.h.

◆ loadPacket() [1/3]

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< class > class MakePointer_ = MakePointer>
template<typename PacketT >
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, MakePointer_ >::loadPacket ( Index  i) const
inline

Definition at line 448 of file TensorContractionMapper.h.

◆ loadPacket() [2/3]

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< class > class MakePointer_ = MakePointer>
template<typename PacketT >
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, MakePointer_ >::loadPacket ( Index  i,
Index  j 
) const
inline

Definition at line 456 of file TensorContractionMapper.h.

◆ loadPacket() [3/3]

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< class > class MakePointer_ = MakePointer>
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, MakePointer_ >::loadPacket ( Index  i,
Index  j 
) const
inline

Definition at line 464 of file TensorContractionMapper.h.

◆ operator()() [1/2]

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< class > class MakePointer_ = MakePointer>
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, MakePointer_ >::operator() ( Index  i) const
inline

Definition at line 434 of file TensorContractionMapper.h.

◆ operator()() [2/2]

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< class > class MakePointer_ = MakePointer>
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, MakePointer_ >::operator() ( Index  i,
Index  j 
) const
inline

Definition at line 440 of file TensorContractionMapper.h.

◆ storePacket()

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< class > class MakePointer_ = MakePointer>
template<typename PacketT >
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, MakePointer_ >::storePacket ( Index  i,
const PacketT &  p 
) const
inline

Definition at line 472 of file TensorContractionMapper.h.

◆ vert_offset()

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< class > class MakePointer_ = MakePointer>
Index Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::vert_offset ( ) const
inline

Definition at line 509 of file TensorContractionMapper.h.

Member Data Documentation

◆ m_base_mapper

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< class > class MakePointer_ = MakePointer>
ParentMapper Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::m_base_mapper
private

Definition at line 513 of file TensorContractionMapper.h.

◆ m_horiz_offset

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< class > class MakePointer_ = MakePointer>
const Index Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::m_horiz_offset
private

Definition at line 515 of file TensorContractionMapper.h.

◆ m_vert_offset

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< class > class MakePointer_ = MakePointer>
const Index Eigen::internal::TensorContractionSubMapper< Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_contiguous, inner_dim_reordered, Alignment, MakePointer_ >::m_vert_offset
private

Definition at line 514 of file TensorContractionMapper.h.


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


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:22:35