10 #ifndef EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H
11 #define EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H
30 template <
typename ExpressionType,
typename DeviceType>
37 template <
typename OtherDerived>
45 template <
typename OtherDerived>
56 template <
typename OtherDerived>
87 template <
typename ExpressionType,
typename DeviceType,
typename DoneCallback>
93 template <
typename OtherDerived>
111 #ifdef EIGEN_USE_THREADS
112 template <
typename ExpressionType,
typename DoneCallback>
115 TensorAsyncDevice(
const ThreadPoolDevice& device, ExpressionType& expression, DoneCallback done)
118 template <
typename OtherDerived>
120 typedef TensorAssignOp<ExpressionType, const OtherDerived> Assign;
121 typedef internal::TensorAsyncExecutor<const Assign, ThreadPoolDevice, DoneCallback> Executor;
#define EIGEN_DEFAULT_COPY_CONSTRUCTOR(CLASS)
Macro to explicitly define the default copy constructor. This is necessary, because the implicit defi...
Definition: Macros.h:1119
#define EIGEN_STRONG_INLINE
Definition: Macros.h:834
SCALAR Scalar
Definition: bench_gemm.cpp:45
Definition: TensorAssign.h:57
Pseudo expression providing an operator = that will evaluate its argument asynchronously on the speci...
Definition: TensorDevice.h:88
TensorAsyncDevice(const DeviceType &device, ExpressionType &expression, DoneCallback done)
Definition: TensorDevice.h:90
const DeviceType & m_device
Definition: TensorDevice.h:106
EIGEN_STRONG_INLINE TensorAsyncDevice & operator=(const OtherDerived &other)
Definition: TensorDevice.h:94
ExpressionType & m_expression
Definition: TensorDevice.h:107
DoneCallback m_done
Definition: TensorDevice.h:108
Definition: TensorExpr.h:162
Pseudo expression providing an operator = that will evaluate its argument on the specified computing ...
Definition: TensorDevice.h:31
TensorDevice(const DeviceType &device, ExpressionType &expression)
Definition: TensorDevice.h:33
EIGEN_STRONG_INLINE TensorDevice & operator+=(const OtherDerived &other)
Definition: TensorDevice.h:46
EIGEN_STRONG_INLINE TensorDevice & operator-=(const OtherDerived &other)
Definition: TensorDevice.h:57
const DeviceType & m_device
Definition: TensorDevice.h:69
ExpressionType & m_expression
Definition: TensorDevice.h:70
EIGEN_STRONG_INLINE TensorDevice & operator=(const OtherDerived &other)
Definition: TensorDevice.h:38
Definition: TensorExecutor.h:78
static EIGEN_STRONG_INLINE void run(const Expression &expr, const Device &device=DefaultDevice())
Definition: TensorExecutor.h:92
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
void run(const string &dir_name, LinearSolver *linear_solver_pt, const unsigned nel_1d, bool mess_up_order)
Definition: two_d_poisson_compare_solvers.cc:317