TR-mbed 1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | 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 CoeffLoader (const Tensor &tensor)
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void offsetBuffer (typename Tensor::Index)
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE const MakePointer_< consttypenameTensor::Scalar >::Type data () const
 
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Tensor::Scalar coeff (typename Tensor::Index index) const
 
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor::PacketReturnType packet (typename Tensor::Index index) const
 

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.

Member Enumeration Documentation

◆ anonymous enum

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

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

Member Function Documentation

◆ coeff()

◆ data()

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

◆ offsetBuffer()

◆ 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

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