Reference documentation for deal.II version 9.2.0
|
#include <deal.II/base/cuda.h>
Public Member Functions | |
Handle () | |
Handle (Handle const &)=delete | |
~Handle () | |
Public Attributes | |
cusolverDnHandle_t | cusolver_dn_handle |
cusolverSpHandle_t | cusolver_sp_handle |
cusparseHandle_t | cusparse_handle |
Various CUDA APIs need an object to store internal data. This structure creates, initializes, stores, and destroys these so-called handles for the respective CUDA libraries used inside deal.II.
Utilities::CUDA::Handle::Handle | ( | ) |
Constructor. Initialize the handles for the different libraries.
|
delete |
Copy constructor is deleted.
Utilities::CUDA::Handle::~Handle | ( | ) |
Destructor. Destroy the handles.
cusolverDnHandle_t Utilities::CUDA::Handle::cusolver_dn_handle |
cusolverSpHandle_t Utilities::CUDA::Handle::cusolver_sp_handle |
cusparseHandle_t Utilities::CUDA::Handle::cusparse_handle |