vt::cuda::CuSolver#
-
inline void vt::cuda::check_cusolver_status(cusolverStatus_t status, const std::string &message)#
check the status of the CuSolver library.
- Parameters:
status – The status of the CuSolver library.
message – The message to be displayed if the status is not CUSOLVER_STATUS_SUCCESS.
- Throws:
std::runtime_error – If the status is not CUSOLVER_STATUS_SUCCESS.
-
inline CuSolverHandleT vt::cuda::create_cusolver_handle()#
Create a CuSolver unique pointer handle.
- Returns:
CuSolverHandleT: The CuSolver unique pointer handle.
-
class CuSolver#
Public Functions
-
static CuSolver &vt::cuda::cusolver = CuSolver::get_instance()#