|
opm-simulators
|
A view towards a smart pointer to GPU-allocated memory. More...
#include <gpu_smart_pointer.hpp>
A view towards a smart pointer to GPU-allocated memory.
This will emulate a smart pointer to GPU-allocated memory, but without ownership semantics, and being compatible with the requirements of the GPU kernels. This is useful when we want to pass a smart pointer to a GPU kernel, but we do not want to transfer the ownership of the memory.