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

Reference CPU GEMV backend for tensor-view operands. More...

#include <uni20/core/scalar_concepts.hpp>
#include <uni20/linalg/cpu/gemv.hpp>
#include <uni20/linalg/dispatch.hpp>
#include <uni20/linalg/operation_tags.hpp>
#include <uni20/tensor/access.hpp>
#include <uni20/tensor/concepts.hpp>
Include dependency graph for backends/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
 

Functions

template<uni20::MutableRankedMdspecLike< 1 > OutputMdspan, uni20::Scalar Scalar, uni20::RankedMdspecLike< 2 > MatrixMdspan, uni20::RankedMdspecLike< 1 > InputMdspan>
requires detail::HostGemvMdspanAccess<OutputMdspan, MatrixMdspan, InputMdspan>
consteval auto uni20::linalg::kernel_accepts_types (CpuReferenceBackend const &, gemv_op const &, OutputMdspan &, Scalar const &, MatrixMdspan &, InputMdspan &, Scalar const &)
 Report eligibility for host-accessible mdspec CPU GEMV.
 
template<uni20::MutableRankedMdspecLike< 1 > OutputMdspan, uni20::Scalar Scalar, uni20::RankedMdspecLike< 2 > MatrixMdspan, uni20::RankedMdspecLike< 1 > InputMdspan>
requires detail::HostGemvMdspanAccess<OutputMdspan, MatrixMdspan, InputMdspan>
KernelAttempt uni20::linalg::try_kernel (CpuReferenceBackend, gemv_op const &, OutputMdspan &output, Scalar alpha, MatrixMdspan &matrix, InputMdspan &input, Scalar beta)
 Resolve host access and run reference GEMV.
 

Detailed Description

Reference CPU GEMV backend for tensor-view operands.