Pseudo expression providing an operator = that will evaluate its argument asynchronously on the specified device. Currently only ThreadPoolDevice implements proper asynchronous execution, while the default and GPU devices just run the expression synchronously and call m_done() on completion..
More...
template<typename ExpressionType, typename DeviceType, typename DoneCallback>
class Eigen::TensorAsyncDevice< ExpressionType, DeviceType, DoneCallback >
Pseudo expression providing an operator = that will evaluate its argument asynchronously on the specified device. Currently only ThreadPoolDevice implements proper asynchronous execution, while the default and GPU devices just run the expression synchronously and call m_done() on completion..
Example: auto done = []() { ... expression evaluation done ... }; C.device(thread_pool_device, std::move(done)) = A + B;
Definition at line 85 of file TensorDevice.h.