Celeritas
0.5.0-56+6b053cd
|
Copy a single value from device to host. More...
#include <Copier.hh>
Public Member Functions | |
ItemCopier ()=default | |
Default constructor. | |
ItemCopier (StreamId stream) | |
Also construct with a stream ID to use for async copy. | |
T | operator() (T const *src) const |
Copy a value from device to host. | |
Copy a single value from device to host.
The source of the data to copy is the function argument.