Exception carrying a failed cuSOLVER operation and device identity.
More...
#include <cusolver_error.hpp>
|
| | 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 |
| |
| | 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.
|
| |
Exception carrying a failed cuSOLVER operation and device identity.
◆ CusolverError()
| uni20::cusolver::CusolverError::CusolverError |
( |
cusolverStatus_t |
status, |
|
|
std::string |
operation, |
|
|
int |
device |
|
) |
| |
◆ 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: