10#ifndef EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H
11#define EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H
27template <
typename ExpressionType,
typename DeviceType>
class TensorDevice {
33 template<
typename OtherDerived>
41 template<
typename OtherDerived>
43 typedef typename OtherDerived::Scalar
Scalar;
52 template<
typename OtherDerived>
54 typedef typename OtherDerived::Scalar
Scalar;
82template <
typename ExpressionType,
typename DeviceType,
typename DoneCallback>
89 template <
typename OtherDerived>
108#ifdef EIGEN_USE_THREADS
109template <
typename ExpressionType,
typename DoneCallback>
116 template <
typename OtherDerived>
118 typedef TensorAssignOp<ExpressionType, const OtherDerived> Assign;
119 typedef internal::TensorAsyncExecutor<const Assign, ThreadPoolDevice, DoneCallback> Executor;
#define EIGEN_DEFAULT_COPY_CONSTRUCTOR(CLASS)
Definition Macros.h:1221
#define EIGEN_STRONG_INLINE
Definition Macros.h:917
SCALAR Scalar
Definition bench_gemm.cpp:46
Definition TensorAssign.h:62
Pseudo expression providing an operator = that will evaluate its argument asynchronously on the speci...
Definition TensorDevice.h:83
TensorAsyncDevice(const DeviceType &device, ExpressionType &expression, DoneCallback done)
Definition TensorDevice.h:85
const DeviceType & m_device
Definition TensorDevice.h:102
EIGEN_STRONG_INLINE TensorAsyncDevice & operator=(const OtherDerived &other)
Definition TensorDevice.h:90
ExpressionType & m_expression
Definition TensorDevice.h:103
DoneCallback m_done
Definition TensorDevice.h:104
Definition TensorExpr.h:197
Pseudo expression providing an operator = that will evaluate its argument on the specified computing ...
Definition TensorDevice.h:27
TensorDevice(const DeviceType &device, ExpressionType &expression)
Definition TensorDevice.h:29
EIGEN_STRONG_INLINE TensorDevice & operator-=(const OtherDerived &other)
Definition TensorDevice.h:53
EIGEN_STRONG_INLINE TensorDevice & operator+=(const OtherDerived &other)
Definition TensorDevice.h:42
const DeviceType & m_device
Definition TensorDevice.h:64
EIGEN_STRONG_INLINE TensorDevice & operator=(const OtherDerived &other)
Definition TensorDevice.h:34
ExpressionType & m_expression
Definition TensorDevice.h:65
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(const Expression &expr, const Device &device=Device())
Definition TensorExecutor.h:96
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
Definition ForwardDeclarations.h:17