Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
uni20::linalg::dispatch_diagnostics::event Struct Reference

Structured result of one ordered kernel-dispatch walk. More...

#include <dispatch_diagnostics.hpp>

Public Member Functions

std::optional< std::string_view > selected_backend () const noexcept
 Return the selected backend name, if the dispatch succeeded.
 
bool succeeded () const noexcept
 Return whether one backend completed the operation.
 

Public Attributes

std::vector< KernelBackendAttempt > backend_attempts
 
std::string operation
 

Detailed Description

Structured result of one ordered kernel-dispatch walk.

Member Function Documentation

◆ selected_backend()

std::optional< std::string_view > uni20::linalg::dispatch_diagnostics::event::selected_backend ( ) const
inlinenoexcept

Return the selected backend name, if the dispatch succeeded.

◆ succeeded()

bool uni20::linalg::dispatch_diagnostics::event::succeeded ( ) const
inlinenoexcept

Return whether one backend completed the operation.

Member Data Documentation

◆ backend_attempts

std::vector<KernelBackendAttempt> uni20::linalg::dispatch_diagnostics::event::backend_attempts

◆ operation

std::string uni20::linalg::dispatch_diagnostics::event::operation

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