Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
uni20::linalg::cpu::GemvCompatible Concept Reference

Report whether resolved mdspans support reference CPU GEMV expressions. More...

#include <gemv.hpp>

Concept definition

template<class OutputMdspan, class Scalar, class MatrixMdspan, class InputMdspan>
std::same_as<std::remove_cv_t<typename std::remove_cvref_t<OutputMdspan>::element_type>, Scalar> &&
std::same_as<std::remove_cv_t<typename std::remove_cvref_t<MatrixMdspan>::element_type>, Scalar> &&
std::same_as<std::remove_cv_t<typename std::remove_cvref_t<InputMdspan>::element_type>, Scalar> &&
requires(OutputMdspan& output, MatrixMdspan& matrix, InputMdspan& input,
typename std::remove_cvref_t<OutputMdspan>::index_type index, Scalar value) {
static_cast<Scalar>(output.operator[](index));
static_cast<Scalar>(matrix.operator[](index, index));
static_cast<Scalar>(input.operator[](index));
output.operator[](index) = value;
{ value == Scalar{} } -> std::convertible_to<bool>;
}
A mutable mdspan-like type with a specified static rank.
Definition mdspan/concepts.hpp:494
An mdspan-like type with a specified static rank.
Definition mdspan/concepts.hpp:447
Concept for numeric scalar types (integer, real, or complex).
Definition scalar_concepts.hpp:81
Report whether resolved mdspans support reference CPU GEMV expressions.
Definition cpu/gemv.hpp:21
locale_t value
Definition data_table.cpp:49

Detailed Description

Report whether resolved mdspans support reference CPU GEMV expressions.