OpenLB 1.7
|
Managed pointer for device-side memory. More...
#include <device.h>
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().
|
inline |
|
inline |
|
inline |
Definition at line 99 of file device.h.
References olb::gpu::cuda::device::unique_ptr< T >::reset().
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().
|
inline |
|
inline |
Definition at line 95 of file device.h.
References olb::gpu::cuda::device::unique_ptr< T >::operator=().