Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Variables
async_traits.hpp File Reference

Payload classification and write-through customization for asynchronous values. More...

#include <concepts>
#include <type_traits>
#include <utility>
Include dependency graph for async_traits.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uni20::async::async_value_type< T >
 Strip Async<T> to T for assignment and expression type deduction. More...
 
struct  uni20::async::async_value_type< Async< T > >
 
struct  uni20::async::is_async_alias< T >
 Identifies payload descriptors requiring shared async alias identity. More...
 

Namespaces

namespace  uni20
 
namespace  uni20::async
 This represents the reverse-mode adjoint for functions of complex variables, assuming a real-valued scalar loss function ( L \colon \mathbb{C} \to \mathbb{R} ).
 

Typedefs

template<typename T >
using uni20::async::async_value_t = typename async_value_type< std::remove_cvref_t< T > >::type
 Extract the underlying value type from an immediate value or Async<T>.
 

Variables

template<typename T >
constexpr bool uni20::async::is_async_alias_v = is_async_alias<std::remove_cvref_t<T>>::value
 True when T is an owner-bound async alias descriptor.
 

Detailed Description

Payload classification and write-through customization for asynchronous values.