Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uni20::cusolver::CusolverError Class Reference

Exception carrying a failed cuSOLVER operation and device identity. More...

#include <cusolver_error.hpp>

Inheritance diagram for uni20::cusolver::CusolverError:
[legend]
Collaboration diagram for uni20::cusolver::CusolverError:
[legend]

Public Member Functions

 CusolverError (cusolverStatus_t status, std::string operation, int device)
 
int device () const noexcept
 
std::string_view error_name () const noexcept
 
std::string const & operation () const noexcept
 
cusolverStatus_t status () const noexcept
 
- Public Member Functions inherited from uni20::diagnostic_error
 diagnostic_error (std::string message)
 Construct an exception with its concise plain-text message.
 
void set_source_location (std::source_location where) noexcept
 Attach the source location at which the exception is raised.
 
std::optional< std::source_location > const & source_location () const noexcept
 Return the attached source location, if any.
 

Detailed Description

Exception carrying a failed cuSOLVER operation and device identity.

Constructor & Destructor Documentation

◆ CusolverError()

uni20::cusolver::CusolverError::CusolverError ( cusolverStatus_t  status,
std::string  operation,
int  device 
)

Member Function Documentation

◆ device()

int uni20::cusolver::CusolverError::device ( ) const
inlinenoexcept

◆ error_name()

std::string_view uni20::cusolver::CusolverError::error_name ( ) const
inlinenoexcept

◆ operation()

std::string const & uni20::cusolver::CusolverError::operation ( ) const
inlinenoexcept

◆ status()

cusolverStatus_t uni20::cusolver::CusolverError::status ( ) const
inlinenoexcept

The documentation for this class was generated from the following files: