compbio
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Eigen::TensorEvaluator< const Derived, Device > Struct Template Reference

Public Types

enum  { IsAligned = Derived::IsAligned, PacketAccess = (internal::unpacket_traits<PacketReturnType>::size > 1), Layout = Derived::Layout }
 
typedef Derived::Index Index
 
typedef Derived::Scalar Scalar
 
typedef Derived::Scalar CoeffReturnType
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef Derived::Dimensions Dimensions
 

Public Member Functions

const Derived & derived () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator (const Derived &m, const Device &device)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions & dimensions () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded (CoeffReturnType *data)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff (Index index) const
 
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff (const array< DenseIndex, NumCoords > &coords) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff (bool vectorized) const
 
EIGEN_DEVICE_FUNC internal::traits< Derived >::template MakePointer< const Scalar >::Type data () const
 
const Device & device () const
 added for sycl in order to construct the buffer from the sycl device
 

Static Public Attributes

static const int NumCoords
 

Protected Attributes

internal::traits< Derived >::template MakePointer< const Scalar >::Type m_data
 
Dimensions m_dims
 
const Device & m_device
 
const Derived & m_impl
 

Member Data Documentation

§ NumCoords

template<typename Derived , typename Device >
const int Eigen::TensorEvaluator< const Derived, Device >::NumCoords
static
Initial value:
= internal::traits<Derived>::NumDimensions > 0 ?
internal::traits<Derived>::NumDimensions : 0

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