A cost model used to limit the number of threads used for evaluating tensor expression. More...
#include <TensorEvaluator.h>
Public Types | |
enum | { IsAligned = Derived::IsAligned, PacketAccess = (PacketType<CoeffReturnType, Device>::size > 1), BlockAccess = internal::is_arithmetic<typename internal::remove_const<Scalar>::type>::value, PreferBlockAccess = false, Layout = Derived::Layout } |
typedef Derived::Scalar | CoeffReturnType |
typedef Derived::Dimensions | Dimensions |
typedef Storage::Type | EvaluatorPointerType |
typedef Derived::Index | Index |
typedef PacketType< CoeffReturnType, Device >::type | PacketReturnType |
typedef Derived::Scalar | Scalar |
typedef internal::remove_const< Scalar >::type | ScalarNoConst |
typedef StorageMemory< Scalar, Device > | Storage |
typedef internal::TensorMaterializedBlock< ScalarNoConst, NumCoords, Layout, Index > | TensorBlock |
typedef internal::TensorBlockDescriptor< NumCoords, Index > | TensorBlockDesc |
typedef internal::TensorBlockScratchAllocator< Device > | TensorBlockScratch |
typedef internal::traits< Derived >::template MakePointer< Scalar >::Type | TensorPointerType |
typedef Derived | XprType |
Static Public Attributes | |
static const int | NumCoords |
static const int | PacketSize = PacketType<CoeffReturnType, Device>::size |
Protected Attributes | |
EvaluatorPointerType | m_data |
const Device EIGEN_DEVICE_REF | m_device |
Dimensions | m_dims |
A cost model used to limit the number of threads used for evaluating tensor expression.
The tensor evaluator classes.
These classes are responsible for the evaluation of the tensor expression.
TODO: add support for more types of expressions, in particular expressions leading to lvalues (slicing, reshaping, etc...)
Definition at line 28 of file TensorEvaluator.h.
typedef Derived::Scalar Eigen::TensorEvaluator< Derived, Device >::CoeffReturnType |
Definition at line 32 of file TensorEvaluator.h.
typedef Derived::Dimensions Eigen::TensorEvaluator< Derived, Device >::Dimensions |
Definition at line 34 of file TensorEvaluator.h.
typedef Storage::Type Eigen::TensorEvaluator< Derived, Device >::EvaluatorPointerType |
Definition at line 39 of file TensorEvaluator.h.
typedef Derived::Index Eigen::TensorEvaluator< Derived, Device >::Index |
Definition at line 30 of file TensorEvaluator.h.
typedef PacketType<CoeffReturnType, Device>::type Eigen::TensorEvaluator< Derived, Device >::PacketReturnType |
Definition at line 33 of file TensorEvaluator.h.
typedef Derived::Scalar Eigen::TensorEvaluator< Derived, Device >::Scalar |
Definition at line 31 of file TensorEvaluator.h.
typedef internal::remove_const<Scalar>::type Eigen::TensorEvaluator< Derived, Device >::ScalarNoConst |
Definition at line 55 of file TensorEvaluator.h.
typedef StorageMemory<Scalar, Device> Eigen::TensorEvaluator< Derived, Device >::Storage |
Definition at line 38 of file TensorEvaluator.h.
typedef internal::TensorMaterializedBlock<ScalarNoConst, NumCoords, Layout, Index> Eigen::TensorEvaluator< Derived, Device >::TensorBlock |
Definition at line 63 of file TensorEvaluator.h.
typedef internal::TensorBlockDescriptor<NumCoords, Index> Eigen::TensorEvaluator< Derived, Device >::TensorBlockDesc |
Definition at line 58 of file TensorEvaluator.h.
typedef internal::TensorBlockScratchAllocator<Device> Eigen::TensorEvaluator< Derived, Device >::TensorBlockScratch |
Definition at line 59 of file TensorEvaluator.h.
typedef internal::traits<Derived>::template MakePointer<Scalar>::Type Eigen::TensorEvaluator< Derived, Device >::TensorPointerType |
Definition at line 37 of file TensorEvaluator.h.
typedef Derived Eigen::TensorEvaluator< Derived, Device >::XprType |
Definition at line 35 of file TensorEvaluator.h.
anonymous enum |
Enumerator | |
---|---|
IsAligned | |
PacketAccess | |
BlockAccess | |
PreferBlockAccess | |
Layout |
Definition at line 45 of file TensorEvaluator.h.
|
inline |
Definition at line 66 of file TensorEvaluator.h.
|
inline |
Definition at line 158 of file TensorEvaluator.h.
|
inline |
Definition at line 92 of file TensorEvaluator.h.
|
inline |
Definition at line 94 of file TensorEvaluator.h.
|
inline |
Definition at line 128 of file TensorEvaluator.h.
|
inline |
Definition at line 99 of file TensorEvaluator.h.
|
inline |
Definition at line 138 of file TensorEvaluator.h.
|
inline |
Definition at line 147 of file TensorEvaluator.h.
|
inline |
Definition at line 181 of file TensorEvaluator.h.
|
inline |
Definition at line 73 of file TensorEvaluator.h.
|
inline |
Definition at line 75 of file TensorEvaluator.h.
|
inline |
Definition at line 153 of file TensorEvaluator.h.
|
inline |
Definition at line 105 of file TensorEvaluator.h.
|
inline |
Definition at line 117 of file TensorEvaluator.h.
|
inline |
Definition at line 165 of file TensorEvaluator.h.
|
inline |
Definition at line 123 of file TensorEvaluator.h.
|
protected |
Definition at line 190 of file TensorEvaluator.h.
|
protected |
Definition at line 192 of file TensorEvaluator.h.
|
protected |
Definition at line 191 of file TensorEvaluator.h.
|
static |
Definition at line 42 of file TensorEvaluator.h.
|
static |
Definition at line 36 of file TensorEvaluator.h.