|
|
using | ptr_type = std::conditional_t< on_gpu, T *, std::unique_ptr< T > > |
| |
|
|
OPM_HOST_DEVICE | CopyablePtr (const CopyablePtr &other) |
| |
|
OPM_HOST_DEVICE | CopyablePtr (CopyablePtr &&other) noexcept |
| |
|
OPM_HOST_DEVICE CopyablePtr & | operator= (const CopyablePtr &other) |
| |
|
OPM_HOST_DEVICE CopyablePtr & | operator= (CopyablePtr &&other) noexcept |
| |
|
CopyablePtr & | operator= (std::unique_ptr< T > &&uptr) requires(!on_gpu) |
| |
|
OPM_HOST_DEVICE bool | operator== (const CopyablePtr &other) const |
| |
|
OPM_HOST_DEVICE bool | operator!= (const CopyablePtr &other) const |
| |
|
template<class Serializer > |
| void | serializeOp (Serializer &serializer) |
| |
|
OPM_HOST_DEVICE T * | operator-> () const |
| |
|
OPM_HOST_DEVICE | operator bool () const noexcept |
| |
|
OPM_HOST_DEVICE T * | get () const |
| |
|
OPM_HOST_DEVICE T * | release () |
| |
|
OPM_HOST_DEVICE CopyablePtr< T, true > | to_gpu_view () const |
| |
|
|
template<class U , bool B> |
| class | CopyablePtr |
| |
The documentation for this class was generated from the following file: