Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uni20::linalg::KernelDispatchError Class Reference

Exception carrying structured information about a failed backend walk. More...

#include <dispatch_error.hpp>

Inheritance diagram for uni20::linalg::KernelDispatchError:
[legend]
Collaboration diagram for uni20::linalg::KernelDispatchError:
[legend]

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.
 

Detailed Description

Exception carrying structured information about a failed backend walk.

Constructor & Destructor Documentation

◆ KernelDispatchError()

uni20::linalg::KernelDispatchError::KernelDispatchError ( std::string  operation,
KernelDispatchFailure  failure,
std::vector< KernelBackendAttempt >  backend_attempts 
)
inline

Construct a dispatch failure from its operation and backend attempts.

Member Function Documentation

◆ backend_attempts()

std::vector< KernelBackendAttempt > const & uni20::linalg::KernelDispatchError::backend_attempts ( ) const
inlinenoexcept

Return the ordered backend acceptance and attempt records.

◆ failure()

KernelDispatchFailure uni20::linalg::KernelDispatchError::failure ( ) const
inlinenoexcept

Return the dispatch failure category.

◆ operation()

std::string const & uni20::linalg::KernelDispatchError::operation ( ) const
inlinenoexcept

Return the stable diagnostic operation name.


The documentation for this class was generated from the following file: