10 #ifndef EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H 11 #define EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H 27 template <
typename ExpressionType,
typename DeviceType>
class TensorDevice {
33 template<
typename OtherDerived>
41 template<
typename OtherDerived>
52 template<
typename OtherDerived>
82 template <
typename ExpressionType,
typename DeviceType,
typename DoneCallback>
89 template <
typename OtherDerived>
108 #ifdef EIGEN_USE_THREADS 109 template <
typename ExpressionType,
typename DoneCallback>
116 template <
typename OtherDerived>
123 Executor::runAsync(assign,
m_device, std::move(m_done));
137 #endif // EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H
#define EIGEN_STRONG_INLINE
ExpressionType & m_expression
const DeviceType & m_device
TensorAsyncDevice(const DeviceType &device, ExpressionType &expression, DoneCallback done)
Namespace containing all symbols from the Eigen library.
Pseudo expression providing an operator = that will evaluate its argument on the specified computing ...
EIGEN_STRONG_INLINE TensorDevice & operator=(const OtherDerived &other)
ExpressionType & m_expression
#define EIGEN_DEFAULT_COPY_CONSTRUCTOR(CLASS)
detail::enable_if_t<!detail::move_never< T >::value, T > move(object &&obj)
EIGEN_STRONG_INLINE TensorDevice & operator-=(const OtherDerived &other)
EIGEN_STRONG_INLINE TensorDevice & operator+=(const OtherDerived &other)
EIGEN_STRONG_INLINE TensorAsyncDevice & operator=(const OtherDerived &other)
Pseudo expression providing an operator = that will evaluate its argument asynchronously on the speci...
TensorDevice(const DeviceType &device, ExpressionType &expression)
const DeviceType & m_device
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(const Expression &expr, const Device &device=Device())