opm-simulators
Opm::gpuistl::GpuManagedDeleter< T > Struct Template Reference

Deleter for objects living in unified (managed) GPU memory. More...

#include <gpu_smart_pointer.hpp>

Public Member Functions

void operator() (T *ptr) const noexcept
 

Detailed Description

template<class T>
struct Opm::gpuistl::GpuManagedDeleter< T >

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.


The documentation for this struct was generated from the following file: