6#include <batmat/micro-kernels/hyhound/export.h>
16template <
class T,
class Abi>
18template <
class T,
class Abi>
21template <
class T,
class Abi, KernelConfig Conf, index_t R, StorageOrder OL, StorageOrder OA>
26template <
class T,
class Abi, KernelConfig Conf, index_t R, StorageOrder OL, StorageOrder OA>
43 Structure struc_L,
int rotate_A)
noexcept;
47template <
class T,
class Abi, StorageOrder OL>
51 return {W_t::num_elem_per_layer(), (L.cols() + R - 1) / R};
55template <
class T,
class Abi, KernelConfig Conf = {},
StorageOrder OL = StorageOrder::ColMajor,
60template <
class T,
class Abi, KernelConfig Conf = {},
StorageOrder OL = StorageOrder::ColMajor,
66template <
class T,
class Abi, KernelConfig Conf = {},
StorageOrder OL = StorageOrder::ColMajor,
68BATMAT_LINALG_HYHOUND_EXPORT
void
71 index_t kA_in_offset = 0) noexcept;
73template <class T, class Abi, KernelConfig Conf = {},
StorageOrder OL1 = StorageOrder::ColMajor,
76BATMAT_LINALG_HYHOUND_EXPORT
void
83BATMAT_LINALG_HYHOUND_EXPORT
void
92BATMAT_LINALG_HYHOUND_EXPORT
void
96 bool shift_A_out)
noexcept;
constexpr index_t RowsReg
Register block size of the matrix-matrix multiplication micro-kernels.
void hyhound_diag_full_microkernel(index_t kA, uview< T, Abi, OL > L, uview< T, Abi, OA > A, uview< const T, Abi, StorageOrder::ColMajor > diag) noexcept
void hyhound_diag_cyclic_register(view< T, Abi, OL > L11, view< T, Abi, OW > A1, view< T, Abi, OY > L21, view< const T, Abi, OW > A22, view< T, Abi, OW > A2_out, view< T, Abi, OU > L31, view< const T, Abi, OW > A31, view< T, Abi, OW > A3_out, view< const T, Abi > D) noexcept
Performs a factorization update of the following matrix:
void hyhound_diag_register(view< T, Abi, OL > L, view< T, Abi, OA > A, view< const T, Abi > D) noexcept
Block hyperbolic Householder factorization update using register blocking.
void hyhound_diag_riccati_register(view< T, Abi, OL > L11, view< T, Abi, OA > A1, view< T, Abi, OL > L21, view< const T, Abi, OA > A2, view< T, Abi, OA > A2_out, view< T, Abi, OLu > Lu1, view< T, Abi, OAu > Au_out, view< const T, Abi > D, bool shift_A_out) noexcept
Performs a factorization update of the following matrix:
void hyhound_diag_tail_microkernel(index_t kA_in_offset, index_t kA_in, index_t k, triangular_accessor< const T, Abi, SizeR< T, Abi > > W, uview< T, Abi, OL > L, uview< const T, Abi, OA > A_in, uview< T, Abi, OA > A_out, uview< const T, Abi, OB > B, uview< const T, Abi, StorageOrder::ColMajor > diag, Structure struc_L, int rotate_A) noexcept
constexpr std::pair< index_t, index_t > hyhound_W_size(view< T, Abi, OL > L)
void hyhound_diag_diag_microkernel(index_t kA, triangular_accessor< T, Abi, SizeR< T, Abi > > W, uview< T, Abi, OL > L, uview< T, Abi, OA > A, uview< const T, Abi, StorageOrder::ColMajor > diag) noexcept
void hyhound_diag_apply_register(view< T, Abi, OL > L, view< const T, Abi, OA > Ain, view< T, Abi, OA > Aout, view< const T, Abi, OA > B, view< const T, Abi > D, view< const T, Abi > W, index_t kA_in_offset=0) noexcept
Apply a block hyperbolic Householder transformation.
void hyhound_diag_2_register(view< T, Abi, OL1 > L11, view< T, Abi, OA1 > A1, view< T, Abi, OL2 > L21, view< T, Abi, OA2 > A2, view< const T, Abi > D) noexcept
Same as hyhound_diag_register but for two block rows at once.
simd_view_types< std::remove_const_t< T >, Abi >::template view< T, Order > view
std::integral_constant< index_t, I > index_constant