![]() |
OpenLB 1.8.1
|
Managed pointer for device-side memory. More...
#include <device.h>
Inheritance diagram for olb::gpu::cuda::device::unique_ptr< T >:
Collaboration diagram for olb::gpu::cuda::device::unique_ptr< T >:Public Member Functions | |
| unique_ptr () | |
| unique_ptr (T *ptr) | |
| unique_ptr (unique_ptr &&rhs) | |
| ~unique_ptr () | |
| unique_ptr & | operator= (unique_ptr &&rhs) |
| void | reset (T *ptr) |
| unique_ptr & | operator= (T *ptr) |
| T * | release () |
| const T * | get () const |
| T * | get () |
Managed pointer for device-side memory.
|
inline |
|
inline |
|
inline |
| olb::gpu::cuda::device::unique_ptr< T >::~unique_ptr | ( | ) |
Definition at line 108 of file device.hh.
References olb::gpu::cuda::device::check().
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
Definition at line 99 of file device.h.
References olb::gpu::cuda::device::unique_ptr< T >::reset().
Here is the call graph for this function:| unique_ptr< T > & olb::gpu::cuda::device::unique_ptr< T >::operator= | ( | unique_ptr< T > && | rhs | ) |
Definition at line 116 of file device.hh.
References olb::gpu::cuda::device::check(), and olb::gpu::cuda::device::unique_ptr< T >::release().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 95 of file device.h.
References olb::gpu::cuda::device::unique_ptr< T >::operator=().
Here is the call graph for this function:
Here is the caller graph for this function: