|
| template<typename T > |
| std::shared_ptr< T > | Opm::gpuistl::make_gpu_shared_ptr () |
| | Creates a shared pointer managing GPU-allocated memory of the specified element type. More...
|
| |
| template<typename T > |
| std::shared_ptr< T > | Opm::gpuistl::make_gpu_shared_ptr (const T &value) |
| | Creates a shared pointer managing GPU-allocated memory of the specified element type. More...
|
| |
| template<typename T > |
| auto | Opm::gpuistl::make_gpu_unique_ptr () |
| | Creates a unique pointer managing GPU-allocated memory of the specified element type. More...
|
| |
| template<typename T > |
| auto | Opm::gpuistl::make_gpu_unique_ptr (const T &value) |
| | Creates a unique pointer managing GPU-allocated memory of the specified element type. More...
|
| |
| template<typename T > |
| std::unique_ptr< T[], GpuArrayDeleter< T > > | Opm::gpuistl::make_gpu_unique_ptr_array (std::size_t numElements) |
| | Creates a unique pointer managing a GPU-allocated array of numElements elements. More...
|
| |
| template<typename T , class... Args> |
| std::unique_ptr< T, GpuManagedDeleter< T > > | Opm::gpuistl::make_gpu_managed_unique_ptr (Args &&... args) |
| | Creates a unique pointer managing GPU unified (managed) memory for a single object. More...
|
| |
| template<class T > |
| T | Opm::gpuistl::copyFromGPU (const T *value) |
| | Copies a value from GPU-allocated memory to the host. More...
|
| |
| template<class T > |
| T | Opm::gpuistl::copyFromGPU (const std::shared_ptr< T > &value) |
| | Copies a value from GPU-allocated memory to the host. More...
|
| |
| template<class T , class Deleter > |
| T | Opm::gpuistl::copyFromGPU (const std::unique_ptr< T, Deleter > &value) |
| | Copies a value from GPU-allocated memory to the host. More...
|
| |
| template<class T > |
| void | Opm::gpuistl::copyToGPU (const T &value, T *ptr) |
| | Copies a value from the host to GPU-allocated memory. More...
|
| |
| template<class T > |
| void | Opm::gpuistl::copyToGPU (const T &value, const std::shared_ptr< T > &ptr) |
| | Copies a value from the host to GPU-allocated memory using a shared_ptr. More...
|
| |
| template<class T , class Deleter > |
| void | Opm::gpuistl::copyToGPU (const T &value, const std::unique_ptr< T, Deleter > &ptr) |
| | Copies a value from the host to GPU-allocated memory using a unique_ptr. More...
|
| |
| template<class T > |
| PointerView< T > | Opm::gpuistl::make_view (const std::shared_ptr< T > &ptr) |
| |
| template<class T , class Deleter > |
| PointerView< T > | Opm::gpuistl::make_view (const std::unique_ptr< T, Deleter > &ptr) |
| |
defines convenience classes and functions for using std::shared_ptr and std::unique_ptr with GPU allocated memory.