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

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

#include <gemm.hpp>

Concept definition

template<class OutputMdspan, class Scalar, class LhsMdspan, class RhsMdspan>
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<LhsMdspan>::element_type>, Scalar> &&
std::same_as<std::remove_cv_t<typename std::remove_cvref_t<RhsMdspan>::element_type>, Scalar> &&
requires(OutputMdspan& output, LhsMdspan& lhs, RhsMdspan& rhs,
typename std::remove_cvref_t<OutputMdspan>::index_type index, Scalar value) {
static_cast<Scalar>(output.operator[](index, index));
static_cast<Scalar>(lhs.operator[](index, index));
static_cast<Scalar>(rhs.operator[](index, index));
output.operator[](index, 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 GEMM expressions.
Definition linalg/cpu/gemm.hpp:22
locale_t value
Definition data_table.cpp:49

Detailed Description

Report whether resolved mdspans support reference CPU GEMM expressions.