device_unique_object< T >#
|
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
stdgpu::device_unique_object< T >
Detailed Description
template<typename T>
class stdgpu::device_unique_object< T >
class stdgpu::device_unique_object< T >
A resource wrapper for managing device objects with automatic scope-based object destruction.
- Template Parameters
-
T A type
Public Member Functions | |
| template<typename... Args> | |
| device_unique_object (Args &&... args) | |
| template<typename ExecutionPolicy , typename... Args, STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) > | |
| device_unique_object (ExecutionPolicy &&policy, Args &&... args) | |
| device_unique_object (null_object_t) | |
| operator bool () const | |
| T & | operator* () |
| const T & | operator* () const |
| T * | operator-> () |
| const T * | operator-> () const |
Generated by