Exception carrying a failed cuBLAS operation and device identity.
More...
#include <cublas_error.hpp>
|
| | CublasError (cublasStatus_t status, std::string operation, int device) |
| |
| int | device () const noexcept |
| |
| std::string_view | error_name () const noexcept |
| |
| std::string const & | operation () const noexcept |
| |
| cublasStatus_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 cuBLAS operation and device identity.
◆ CublasError()
| uni20::cublas::CublasError::CublasError |
( |
cublasStatus_t |
status, |
|
|
std::string |
operation, |
|
|
int |
device |
|
) |
| |
◆ device()
| int uni20::cublas::CublasError::device |
( |
| ) |
const |
|
inlinenoexcept |
◆ error_name()
| std::string_view uni20::cublas::CublasError::error_name |
( |
| ) |
const |
|
inlinenoexcept |
◆ operation()
| std::string const & uni20::cublas::CublasError::operation |
( |
| ) |
const |
|
inlinenoexcept |
◆ status()
| cublasStatus_t uni20::cublas::CublasError::status |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: