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

Coroutine-aware kernel dispatch with an ordinary blocking fallback. More...

#include <uni20/async/async_task.hpp>
#include <uni20/linalg/async/kernel_task.hpp>
#include <uni20/linalg/dispatch.hpp>
#include <array>
#include <optional>
#include <span>
#include <tuple>
#include <type_traits>
#include <utility>
Include dependency graph for async/dispatch.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
 

Functions

template<class BackendSelector , class Op , class... Args>
requires detail::KernelDispatchTypesAccepted<detail::normalized_backend_selector_t<BackendSelector>, Op, Args&...>
async::AsyncTask uni20::linalg::co_dispatch_kernel (BackendSelector selector, Op op, Args &... args)
 Dispatch a kernel from a coroutine without requiring coroutine wrappers for blocking backends.
 

Detailed Description

Coroutine-aware kernel dispatch with an ordinary blocking fallback.