|
opm-simulators
|
Deleter for objects living in unified (managed) GPU memory. More...
#include <gpu_smart_pointer.hpp>
Public Member Functions | |
| void | operator() (T *ptr) const noexcept |
Deleter for objects living in unified (managed) GPU memory.
Calls the destructor of the contained object before releasing the allocation with cudaFree. Used by make_gpu_managed_unique_ptr.