Managed buffer for host and device. More...
Public Member Functions | |
TrtCudaBuffer ()=default | |
TrtCudaBuffer (const TrtCudaBuffer &)=delete | |
TrtCudaBuffer & | operator= (const TrtCudaBuffer &)=delete |
TrtCudaBuffer (TrtCudaBuffer &&rhs) | |
TrtCudaBuffer & | operator= (TrtCudaBuffer &&rhs) |
~TrtCudaBuffer () | |
TrtCudaBuffer (size_t size) | |
void | allocate (size_t size) |
void | reset (void *ptr=nullptr) |
void * | get () const |
Private Attributes | |
void * | mPtr {nullptr} |
Managed buffer for host and device.
|
default |
|
delete |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |