Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device > Struct Template Reference

#include <TensorEvaluator.h>

Public Types

enum  {
  IsAligned = TensorEvaluator<ArgType, Device>::IsAligned, PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess & internal::functor_traits<UnaryOp>::PacketAccess, Layout = TensorEvaluator<ArgType, Device>::Layout, CoordAccess = false,
  RawAccess = false
}
 
typedef internal::traits< XprType >::Scalar CoeffReturnType
 
typedef TensorEvaluator< ArgType, Device >::Dimensions Dimensions
 
typedef XprType::Index Index
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef XprType::Scalar Scalar
 
typedef TensorCwiseUnaryOp< UnaryOp, ArgType > XprType
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void cleanup ()
 
EIGEN_DEVICE_FUNC CoeffReturnType coeff (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff (bool vectorized) const
 
EIGEN_DEVICE_FUNC CoeffReturnTypedata () const
 
EIGEN_DEVICE_FUNC const Dimensionsdimensions () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded (Scalar *)
 
UnaryOp functor () const
 added for sycl in order to construct the buffer from sycl device More...
 
const TensorEvaluator< ArgType, Device > & impl () const
 required by sycl in order to extract the accessor More...
 
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet (Index index) const
 
EIGEN_DEVICE_FUNC TensorEvaluator (const XprType &op, const Device &device)
 

Static Public Attributes

static const int PacketSize = internal::unpacket_traits<PacketReturnType>::size
 

Private Attributes

TensorEvaluator< ArgType, Device > m_argImpl
 
const UnaryOp m_functor
 

Detailed Description

template<typename UnaryOp, typename ArgType, typename Device>
struct Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >

Definition at line 293 of file TensorEvaluator.h.

Member Typedef Documentation

template<typename UnaryOp , typename ArgType , typename Device >
typedef internal::traits<XprType>::Scalar Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::CoeffReturnType

Definition at line 312 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
typedef TensorEvaluator<ArgType, Device>::Dimensions Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::Dimensions

Definition at line 315 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
typedef XprType::Index Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::Index

Definition at line 310 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
typedef PacketType<CoeffReturnType, Device>::type Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::PacketReturnType

Definition at line 313 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
typedef XprType::Scalar Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::Scalar

Definition at line 311 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
typedef TensorCwiseUnaryOp<UnaryOp, ArgType> Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::XprType

Definition at line 295 of file TensorEvaluator.h.

Member Enumeration Documentation

template<typename UnaryOp , typename ArgType , typename Device >
anonymous enum
Enumerator
IsAligned 
PacketAccess 
Layout 
CoordAccess 
RawAccess 

Definition at line 297 of file TensorEvaluator.h.

Constructor & Destructor Documentation

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::TensorEvaluator ( const XprType op,
const Device &  device 
)
inline

Definition at line 305 of file TensorEvaluator.h.

Member Function Documentation

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::cleanup ( )
inline

Definition at line 323 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC CoeffReturnType Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::coeff ( Index  index) const
inline

Definition at line 327 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::costPerCoeff ( bool  vectorized) const
inline

Definition at line 338 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC CoeffReturnType* Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::data ( ) const
inline

Definition at line 344 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC const Dimensions& Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::dimensions ( ) const
inline

Definition at line 317 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::evalSubExprsIfNeeded ( Scalar )
inline

Definition at line 319 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
UnaryOp Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::functor ( ) const
inline

added for sycl in order to construct the buffer from sycl device

Definition at line 349 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
const TensorEvaluator<ArgType, Device>& Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::impl ( ) const
inline

required by sycl in order to extract the accessor

Definition at line 347 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::packet ( Index  index) const
inline

Definition at line 333 of file TensorEvaluator.h.

Member Data Documentation

template<typename UnaryOp , typename ArgType , typename Device >
TensorEvaluator<ArgType, Device> Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::m_argImpl
private

Definition at line 354 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
const UnaryOp Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::m_functor
private

Definition at line 353 of file TensorEvaluator.h.

template<typename UnaryOp , typename ArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::PacketSize = internal::unpacket_traits<PacketReturnType>::size
static

Definition at line 314 of file TensorEvaluator.h.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:24