Coupled host and device buffers. More...
Public Member Functions | |
void | allocate (size_t size) |
void * | getDeviceBuffer () const |
void * | getHostBuffer () const |
void | hostToDevice (TrtCudaStream &stream) |
void | deviceToHost (TrtCudaStream &stream) |
size_t | getSize () const |
Private Attributes | |
size_t | mSize {0} |
TrtHostBuffer | mHostBuffer |
TrtDeviceBuffer | mDeviceBuffer |
Coupled host and device buffers.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |