Definition at line 41 of file sources/libs/nvll_osd/memory.hpp.
Public Member Functions | |
| T * | host () const |
| T * | device () const |
| size_t | size () const |
| size_t | bytes () const |
| virtual | ~Memory () |
| void | copy_host_to_device (cudaStream_t stream=nullptr) |
| void | copy_device_to_host (cudaStream_t stream=nullptr) |
| void | alloc_or_resize_to (size_t size) |
| void | free_memory () |
| T * | host () const |
| T * | device () const |
| size_t | size () const |
| size_t | bytes () const |
| virtual | ~Memory () |
| void | copy_host_to_device (cudaStream_t stream=nullptr) |
| void | copy_device_to_host (cudaStream_t stream=nullptr) |
| void | alloc_or_resize_to (size_t size) |
| void | free_memory () |
Definition at line 48 of file sources/libs/nvll_osd/memory.hpp.
References Memory< T >::free_memory().
Definition at line 48 of file 9.1/sources/libs/nvll_osd/memory.hpp.
References Memory< T >::free_memory().
|
inline |
Definition at line 59 of file sources/libs/nvll_osd/memory.hpp.
References checkRuntime, Memory< T >::free_memory(), and Memory< T >::size().
|
inline |
Definition at line 59 of file 9.1/sources/libs/nvll_osd/memory.hpp.
References checkRuntime, Memory< T >::free_memory(), and Memory< T >::size().
|
inline |
Definition at line 46 of file 9.1/sources/libs/nvll_osd/memory.hpp.
|
inline |
Definition at line 46 of file sources/libs/nvll_osd/memory.hpp.
Referenced by Memory< T >::copy_device_to_host(), and Memory< T >::copy_host_to_device().
|
inline |
Definition at line 55 of file 9.1/sources/libs/nvll_osd/memory.hpp.
References Memory< T >::bytes(), and checkRuntime.
|
inline |
Definition at line 55 of file sources/libs/nvll_osd/memory.hpp.
References Memory< T >::bytes(), and checkRuntime.
|
inline |
Definition at line 52 of file sources/libs/nvll_osd/memory.hpp.
References Memory< T >::bytes(), and checkRuntime.
|
inline |
Definition at line 52 of file 9.1/sources/libs/nvll_osd/memory.hpp.
References Memory< T >::bytes(), and checkRuntime.
|
inline |
Definition at line 44 of file sources/libs/nvll_osd/memory.hpp.
|
inline |
Definition at line 44 of file 9.1/sources/libs/nvll_osd/memory.hpp.
|
inline |
Definition at line 70 of file 9.1/sources/libs/nvll_osd/memory.hpp.
References checkRuntime.
|
inline |
Definition at line 70 of file sources/libs/nvll_osd/memory.hpp.
References checkRuntime.
Referenced by Memory< T >::alloc_or_resize_to(), and Memory< T >::~Memory().
|
inline |
Definition at line 43 of file 9.1/sources/libs/nvll_osd/memory.hpp.
|
inline |
Definition at line 43 of file sources/libs/nvll_osd/memory.hpp.
|
inline |
Definition at line 45 of file 9.1/sources/libs/nvll_osd/memory.hpp.
|
inline |
Definition at line 45 of file sources/libs/nvll_osd/memory.hpp.
Referenced by Memory< T >::alloc_or_resize_to().