batmat 0.0.15
Batched linear algebra routines
Loading...
Searching...
No Matches
symv.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <batmat/lut.hpp>
7#include <optional>
8
10
15
16template <class T, class Abi, KernelConfig Conf, index_t RowsReg, StorageOrder OA>
19 uview<T, Abi, StorageOrder::ColMajor> D, index_t k) noexcept;
20
21template <class T, class Abi, KernelConfig Conf, StorageOrder OA>
23 std::optional<view<const T, Abi>> C, view<T, Abi> D) noexcept;
24
25template <class T, class Abi>
26constexpr index_t RowsReg = 2 * gemm::RowsReg<T, Abi>;
27
28template <class T, class Abi, KernelConfig Conf, StorageOrder OA>
29inline const constinit auto symv_copy_lut =
32 });
33
34} // namespace batmat::linalg::micro_kernels::symv
consteval auto make_1d_lut(F f)
Returns an array of the form:
Definition lut.hpp:39
constexpr index_t RowsReg
Register block size of the matrix-matrix multiplication micro-kernels.
Definition avx-512.hpp:13
void symv_copy_register(view< const T, Abi, OA > A, view< const T, Abi > B, std::optional< view< const T, Abi > > C, view< T, Abi > D) noexcept
Generalized matrix multiplication d = c ± A⁽ᵀ⁾ b. Using register blocking.
Definition symv.tpp:65
void symv_copy_microkernel(uview< const T, Abi, OA > A, uview< const T, Abi, StorageOrder::ColMajor > B, std::optional< uview< const T, Abi, StorageOrder::ColMajor > > C, uview< T, Abi, StorageOrder::ColMajor > D, index_t k) noexcept
Symmetric matrix-vector multiplication d = c ± A b. Single register block.
Definition symv.tpp:16
const constinit auto symv_copy_lut
Definition symv.hpp:29
simd_view_types< std::remove_const_t< T >, Abi >::template view< T, Order > view
Definition uview.hpp:70
std::integral_constant< index_t, I > index_constant
Definition lut.hpp:10