|
Uni20
Asynchronous tensor and runtime library.
|
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>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. | |
Coroutine-aware kernel dispatch with an ordinary blocking fallback.