Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
lapack_error_presentation.hpp
Go to the documentation of this file.
1#pragma once
2
11
12#include <fmt/core.h>
13
14namespace uni20::lapack
15{
16
19{
21 report.status(presentation::semantic_glyph::failure, fmt::format("LAPACK '{}' failed", error.routine()));
22 report.field("INFO", error.info());
23 report.field("Reason", error.reason());
24 return report;
25}
26
27} // namespace uni20::lapack
Exception carrying a terminal positive LAPACK INFO result.
Definition lapack_error.hpp:28
Builder for simple terminal reports with headings, status lines, fields, and tables.
Definition presentation.hpp:602
report_builder & field(std::string key, std::string value)
Add a labeled field to the report header.
Definition presentation.cpp:1459
report_builder & status(semantic_glyph glyph, std::string label)
Add a semantic status line such as ✓ converged.
Definition presentation.cpp:1453
Structured checked-LAPACK failure data.
Definition backend/lapack/common.hpp:12
presentation::report_builder diagnostic_report(LapackError const &error)
Build a presentation report for a terminal LAPACK provider failure.
Definition lapack_error_presentation.hpp:18