![]() |
OpenVDB 13.1.0
|
Simple (naive) implementation of a unique device pointer using stream ordered memory allocation and deallocation. More...
#include <nanovdb/util/cuda/Util.h>
Public Member Functions | |
| unique_ptr (size_t count=0, cudaStream_t stream=0) | |
| unique_ptr (const unique_ptr &)=delete | |
| unique_ptr (unique_ptr &&other) | |
| ~unique_ptr () | |
| unique_ptr & | operator= (const unique_ptr &)=delete |
| unique_ptr & | operator= (unique_ptr &&rhs) noexcept |
| void | reset () |
| T * | get () const |
| operator bool () const | |
Simple (naive) implementation of a unique device pointer using stream ordered memory allocation and deallocation.
| T | Type of the device pointer |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
delete |
|
inlinenoexcept |
|
inline |