Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::ItemCopier< T > Class Template Reference

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.
 
operator() (T const *src) const
 Copy a value from device to host.
 

Detailed Description

template<class T>
class celeritas::ItemCopier< T >

Copy a single value from device to host.

The source of the data to copy is the function argument.


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