W3cubDocs

/Eigen3

Eigen::TensorAsyncDevice

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;


The documentation for this class was generated from the following file: