![]() |
Eigen-Contrib
5.0.1
|
#include <contrib/Eigen/src/GPU/DeviceMatrix.h>
Future for an asynchronous device-to-host matrix transfer.
Returned by gpu::DeviceMatrix::toHostAsync(). The transfer runs asynchronously on the given CUDA stream. Call get() to block until complete and retrieve the host matrix, or ready() to poll without blocking.
Public Member Functions | |
| PlainMatrix & | get () |
| bool | ready () const |
|
inline |
Block until the transfer completes and return the host matrix. Idempotent: subsequent calls return the same matrix without re-syncing.
|
inline |
Non-blocking check: has the transfer completed?