|
Uni20
Asynchronous tensor and runtime library.
|
Structured cuBLAS failures and checked-call helpers. More...
#include <uni20/common/diagnostic_error.hpp>#include <cublas_v2.h>#include <source_location>#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| class | uni20::cublas::CublasError |
| Exception carrying a failed cuBLAS operation and device identity. More... | |
Namespaces | |
| namespace | uni20 |
| namespace | uni20::cublas |
Functions | |
| void | uni20::cublas::check (cublasStatus_t status, std::string_view operation, int device, std::source_location where=std::source_location::current()) |
Raise unless a cuBLAS call returned CUBLAS_STATUS_SUCCESS. | |
| void | uni20::cublas::raise_error (cublasStatus_t status, std::string_view operation, int device, std::source_location where=std::source_location::current()) |
| Raise a structured cuBLAS provider failure. | |
| std::string_view | uni20::cublas::status_name (cublasStatus_t status) noexcept |
| Return a stable symbolic name for a cuBLAS status value. | |
Structured cuBLAS failures and checked-call helpers.