batmat main
Batched linear algebra routines
Loading...
Searching...
No Matches
trtri.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <batmat/micro-kernels/trtri/export.h>
7
9
10struct BATMAT_LINALG_TRTRI_EXPORT KernelConfig {
12};
13
14template <class T, class Abi, KernelConfig Conf, index_t RowsReg, StorageOrder OA, StorageOrder OD>
16
17template <class T, class Abi, KernelConfig Conf, index_t RowsReg, index_t ColsReg, StorageOrder OD>
18void trmm_microkernel(uview<const T, Abi, OD> Dr, uview<T, Abi, OD> D, index_t k) noexcept;
19
20template <class T, class Abi, KernelConfig Conf, StorageOrder OA, StorageOrder OD>
21BATMAT_LINALG_TRTRI_EXPORT void trtri_copy_register(view<const T, Abi, OA> A,
22 view<T, Abi, OD> D) noexcept;
23
24// Square block sizes greatly simplify handling of triangular matrices.
25using gemm::RowsReg;
26template <class T, class Abi>
27constexpr index_t ColsReg = RowsReg<T, Abi>;
28
29} // namespace batmat::linalg::micro_kernels::trtri
constexpr index_t RowsReg
Register block size of the matrix-matrix multiplication micro-kernels.
Definition avx-512.hpp:13
constexpr index_t RowsReg
Register block size of the matrix-matrix multiplication micro-kernels.
Definition avx-512.hpp:13
void trmm_microkernel(uview< const T, Abi, OD > Dr, uview< T, Abi, OD > D, index_t k) noexcept
Definition trtri.tpp:111
void trtri_copy_register(view< const T, Abi, OA > A, view< T, Abi, OD > D) noexcept
Definition trtri.tpp:145
void trtri_copy_microkernel(uview< const T, Abi, OA > A, uview< T, Abi, OD > D, index_t k) noexcept
Definition trtri.tpp:32
simd_view_types< std::remove_const_t< T >, Abi >::template view< T, Order > view
Definition uview.hpp:70