opm-simulators
Loading...
Searching...
No Matches
Opm::gpuistl::detail::CuSparseHandle Class Reference

The CuSparseHandle class provides a singleton for the simulator universal cuSparseHandle. More...

#include <CuSparseHandle.hpp>

Public Member Functions

 CuSparseHandle (const CuSparseHandle &)=delete
CuSparseHandle & operator= (const CuSparseHandle &)=delete
 ~CuSparseHandle ()
 Calls cuSparseDestroy on the handle.
cusparseHandle_t get ()
 get returns the underlying cuSparse handle (to be used in calls to cusparse)

Static Public Member Functions

static CuSparseHandle & getInstance ()
 getInstance creates (if necessary) and returns the single unique instance of CuSparseHandle (singleton)

Detailed Description

The CuSparseHandle class provides a singleton for the simulator universal cuSparseHandle.

Example use:


The documentation for this class was generated from the following files:
  • opm/simulators/linalg/gpuistl/detail/CuSparseHandle.hpp
  • opm/simulators/linalg/gpuistl/detail/CuSparseHandle.cpp