Public Types | Public Member Functions | Private Attributes | List of all members
Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ > Struct Template Reference

#include <TensorContractionMapper.h>

Public Types

enum  { DirectOffsets = false }
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Tensor::Scalar coeff (typename Tensor::Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE CoeffLoader (const Tensor &tensor)
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE const MakePointer_< const typename Tensor::Scalar >::Type data () const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void offsetBuffer (typename Tensor::Index)
 
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor::PacketReturnType packet (typename Tensor::Index index) const
 

Private Attributes

const Tensor m_tensor
 

Detailed Description

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
struct Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ >

The make pointer class is used by sycl in order to build the mapper class on the device. For other platform the default make pointer is used which is scalar * for CoeffLoader.

Definition at line 28 of file TensorContractionMapper.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
anonymous enum
Enumerator
DirectOffsets 

Definition at line 38 of file TensorContractionMapper.h.

Constructor & Destructor Documentation

◆ CoeffLoader()

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ >::CoeffLoader ( const Tensor tensor)
inline

Definition at line 42 of file TensorContractionMapper.h.

Member Function Documentation

◆ coeff()

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Tensor::Scalar Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ >::coeff ( typename Tensor::Index  index) const
inline

Definition at line 54 of file TensorContractionMapper.h.

◆ data()

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE const MakePointer_<const typename Tensor::Scalar>::Type Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ >::data ( ) const
inline

Definition at line 49 of file TensorContractionMapper.h.

◆ offsetBuffer()

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ >::offsetBuffer ( typename Tensor::Index  )
inline

Definition at line 44 of file TensorContractionMapper.h.

◆ packet()

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor::PacketReturnType Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ >::packet ( typename Tensor::Index  index) const
inline

Definition at line 57 of file TensorContractionMapper.h.

Member Data Documentation

◆ m_tensor

template<typename Tensor, bool HasRawAccess, template< class > class MakePointer_>
const Tensor Eigen::internal::CoeffLoader< Tensor, HasRawAccess, MakePointer_ >::m_tensor
private

Definition at line 70 of file TensorContractionMapper.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:44:26