Pseudo expression providing an operator = that will evaluate its argument on the specified computing 'device' (GPU, thread pool, ...) More...
Public Member Functions | |
template<typename OtherDerived > | |
TensorDevice & | operator+= (const OtherDerived &other) |
template<typename OtherDerived > | |
TensorDevice & | operator-= (const OtherDerived &other) |
template<typename OtherDerived > | |
TensorDevice & | operator= (const OtherDerived &other) |
TensorDevice (const DeviceType &device, ExpressionType &expression) | |
Protected Attributes | |
const DeviceType & | m_device |
ExpressionType & | m_expression |
Pseudo expression providing an operator = that will evaluate its argument on the specified computing 'device' (GPU, thread pool, ...)
Example: C.device(EIGEN_GPU) = A + B;
Todo: operator *= and /=.
Definition at line 29 of file TensorDevice.h.
|
inline |
Definition at line 31 of file TensorDevice.h.
|
inline |
Definition at line 44 of file TensorDevice.h.
|
inline |
Definition at line 55 of file TensorDevice.h.
|
inline |
Definition at line 36 of file TensorDevice.h.
|
protected |
Definition at line 66 of file TensorDevice.h.
|
protected |
Definition at line 67 of file TensorDevice.h.