Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
cusolver_error.hpp File Reference

Structured cuSOLVER failures and checked-call helpers. More...

#include <uni20/common/diagnostic_error.hpp>
#include <cusolverDn.h>
#include <source_location>
#include <string>
#include <string_view>
Include dependency graph for cusolver_error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uni20::cusolver::CusolverError
 Exception carrying a failed cuSOLVER operation and device identity. More...
 

Namespaces

namespace  uni20
 
namespace  uni20::cusolver
 

Functions

void uni20::cusolver::check (cusolverStatus_t status, std::string_view operation, int device, std::source_location where=std::source_location::current())
 Raise unless a cuSOLVER call returned CUSOLVER_STATUS_SUCCESS.
 
void uni20::cusolver::raise_error (cusolverStatus_t status, std::string_view operation, int device, std::source_location where=std::source_location::current())
 Raise a structured cuSOLVER provider failure.
 
std::string_view uni20::cusolver::status_name (cusolverStatus_t status) noexcept
 Return a stable symbolic name for a cuSOLVER status value.
 

Detailed Description

Structured cuSOLVER failures and checked-call helpers.