Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Functions
cublas_error.cpp File Reference
#include <uni20/backend/cublas/cublas_error.hpp>
#include <uni20/backend/cublas/cublas_error_presentation.hpp>
#include <uni20/common/trace.hpp>
#include <fmt/core.h>
#include <utility>
Include dependency graph for cublas_error.cpp:

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.