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

Accessor-respecting reference CPU GEMV for resolved mdspans. More...

#include <uni20/common/trace.hpp>
#include <uni20/core/scalar_concepts.hpp>
#include <uni20/mdspan/concepts.hpp>
#include <concepts>
#include <type_traits>
Include dependency graph for cpu/gemv.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
 
namespace  uni20::linalg::cpu
 

Concepts

concept  uni20::linalg::cpu::GemvCompatible
 Report whether resolved mdspans support reference CPU GEMV expressions.
 

Functions

template<class OutputMdspan , uni20::Scalar Scalar, class MatrixMdspan , class InputMdspan >
requires GemvCompatible<OutputMdspan, Scalar, MatrixMdspan, InputMdspan>
void uni20::linalg::cpu::gemv (OutputMdspan &&output, Scalar alpha, MatrixMdspan &&matrix, InputMdspan &&input, Scalar beta)
 Execute reference CPU GEMV on resolved mdspans.
 

Detailed Description

Accessor-respecting reference CPU GEMV for resolved mdspans.