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

Write-once async wrappers (FutureValue and Defer) built on Async<T>. More...

#include "async.hpp"
#include "buffers.hpp"
Include dependency graph for future_value.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uni20::async::Defer< T >
 Move-only deferred writer helper for a single WriteBuffer<T>. More...
 
class  uni20::async::FutureValue< T >
 Write-once async value wrapper that retains a pending write buffer. 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} ).
 

Functions

template<typename T >
 uni20::async::Defer (Async< T > &) -> Defer< T >
 CTAD guide for constructing Defer<T> from Async<T>&.
 
template<typename T >
Defer< T > uni20::async::defer_write (Async< T > &a)
 Create a deferred writer helper for an Async value.
 

Detailed Description

Write-once async wrappers (FutureValue and Defer) built on Async<T>.