|
opm-simulators
|
A value stored with a pointer interface. More...
#include <gpu_smart_pointer.hpp>
Public Types | |
| using | element_type = T |
Public Member Functions | |
| ValueAsPointer (const T &t) | |
| OPM_HOST_DEVICE T * | operator-> () |
| OPM_HOST_DEVICE T * | get () |
| OPM_HOST_DEVICE const T * | operator-> () const |
| OPM_HOST_DEVICE const T * | get () const |
| OPM_HOST_DEVICE T & | operator* () |
| OPM_HOST_DEVICE const T & | operator* () const |
A value stored with a pointer interface.
Can be used to wrap objects in GPU kernels that were otherwise stored as pointers