|
Uni20
Asynchronous tensor and runtime library.
|
Exception carrying structured information about a failed backend walk. More...
#include <dispatch_error.hpp>
Public Member Functions | |
| std::vector< KernelBackendAttempt > const & | backend_attempts () const noexcept |
| Return the ordered backend acceptance and attempt records. | |
| KernelDispatchFailure | failure () const noexcept |
| Return the dispatch failure category. | |
| KernelDispatchError (std::string operation, KernelDispatchFailure failure, std::vector< KernelBackendAttempt > backend_attempts) | |
| Construct a dispatch failure from its operation and backend attempts. | |
| std::string const & | operation () const noexcept |
| Return the stable diagnostic operation name. | |
Public Member Functions inherited from uni20::diagnostic_error | |
| 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 structured information about a failed backend walk.
|
inline |
Construct a dispatch failure from its operation and backend attempts.
|
inlinenoexcept |
Return the ordered backend acceptance and attempt records.
|
inlinenoexcept |
Return the dispatch failure category.
|
inlinenoexcept |
Return the stable diagnostic operation name.