Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
kernel_attempt.hpp File Reference

Allocation-free runtime results for kernel backend attempts. More...

#include <string_view>
Include dependency graph for kernel_attempt.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  uni20
 
namespace  uni20::linalg
 

Enumerations

enum class  uni20::linalg::KernelAttempt {
  uni20::linalg::success , uni20::linalg::unsupported_instance , uni20::linalg::unsupported_shape , uni20::linalg::unsupported_layout ,
  uni20::linalg::unsupported_accessor , uni20::linalg::unsupported_transform , uni20::linalg::incompatible_devices , uni20::linalg::unavailable ,
  uni20::linalg::insufficient_resources
}
 Result of one runtime kernel backend attempt. More...
 

Functions

constexpr std::string_view uni20::linalg::kernel_attempt_name (KernelAttempt attempt) noexcept
 Return a stable human-readable kernel-attempt result name.
 
constexpr bool uni20::linalg::kernel_attempt_succeeded (KernelAttempt attempt) noexcept
 Return whether a backend performed the operation.
 

Detailed Description

Allocation-free runtime results for kernel backend attempts.