|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Management of a cusolverDn handle.
RAII management of a cusolverDn handle.
The handle is not created automatically on default construction, e.g. in case it is desired to do so in a critical block scope.
The handle is destroyed on the call to this class's destructor.
Definition at line 48 of file cusolverDnHandle.hpp.
#include <math/cuda/cusolverDnHandle.hpp>
Public Member Functions | |
| cusolverDnHandle () | |
| Default c'tor. | |
| cusolverDnHandle (bool create) | |
| Constructor with option to create / not create the handle. | |
| cusolverDnHandle (cudaStream_t stream) | |
| Constructor which creates the handle and sets the stream. | |
| ~cusolverDnHandle () | |
| Destructor. | |
| void | create () |
| Create (allocate) the handle. | |
| void | create (cudaStream_t stream) |
| Create (allocate) the handle. | |
| void | setStream (cudaStream_t stream) |
| Create (allocate) the handle. | |
| cusolverDnHandle_t | operator() () |
| Get the handle for use in calls to cusolverDN routines. | |
| operator cusolverDnHandle_t () | |
| Conversion operator, allows objects of this class to be used as if they are the handle. | |
|
inline |
Default c'tor.
Creates (allocates) the handle and sets the stream to nullptr
Definition at line 58 of file cusolverDnHandle.hpp.
References create().
|
inlineexplicit |
Constructor with option to create / not create the handle.
| [in] | create | if true the handle is created. if false it is not created. |
Definition at line 64 of file cusolverDnHandle.hpp.
References create().
|
inlineexplicit |
Constructor which creates the handle and sets the stream.
| [in] | stream | cuda stream to associate with this handle. |
Definition at line 73 of file cusolverDnHandle.hpp.
References create().
|
inline |
Destructor.
Definition at line 79 of file cusolverDnHandle.hpp.
|
inline |
Create (allocate) the handle.
Definition at line 88 of file cusolverDnHandle.hpp.
Referenced by cusolverDnHandle(), cusolverDnHandle(), and cusolverDnHandle().
|
inline |
Create (allocate) the handle.
Definition at line 99 of file cusolverDnHandle.hpp.
References setStream().
|
inline |
Conversion operator, allows objects of this class to be used as if they are the handle.
Definition at line 140 of file cusolverDnHandle.hpp.
|
inline |
Get the handle for use in calls to cusolverDN routines.
Definition at line 131 of file cusolverDnHandle.hpp.
|
inline |
Create (allocate) the handle.
Definition at line 111 of file cusolverDnHandle.hpp.
Referenced by create().