|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Namespaces | |
| namespace | mtl |
| namespace | mtl::detail |
| mat*vec multiply into pre-allocated y: y = A * x. | |
Functions | |
| template<typename M> | |
| constexpr bool | mtl::detail::keep_scalar_row_major () |
| Whether M is a row-major matrix type. | |
| template<bool Enable, typename T> | |
| void | mtl::detail::keep_scalar (T &v) |
| An empty asm that keeps v in a scalar register of its own, when Enable. | |
Variables | |
| template<typename T, typename M, std::size_t W> | |
| constexpr bool | mtl::detail::keep_scalar_v |
| Whether the W accumulators of type T over a matrix of type M need keep_scalar (see the top of this file). | |
| template<typename T, typename M, std::size_t W> | |
| constexpr bool | mtl::detail::keep_scalar_triangular_v |
| The same, for the trmv and forward-substitution kernels: as keep_scalar_v on x86-64, never on AArch64, where it made them 5.6-7.2x slower (#795). | |