MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
gemm_quad_microkernel.hpp File Reference
#include <cstddef>
#include <type_traits>
#include <mtl/simd/batch.hpp>

Namespaces

namespace  mtl
namespace  mtl::detail
 mat*vec multiply into pre-allocated y: y = A * x.

Enumerations

enum class  mtl::detail::gemm_kernel { mtl::detail::widening , mtl::detail::quad }
 Which micro-kernel the blocked nest drives. More...

Functions

template<typename TC, typename TA, typename TB>
constexpr bool mtl::detail::is_quad_gemm ()
 Does the (accumulator, A operand, B operand) triple ADMIT the quad kernel?
template<typename TC, typename TA, typename TB, std::size_t MR, std::size_t NR>
void mtl::detail::gemm_quad_microkernel (std::size_t kp, const TA *Ap, const TB *Bp, TC *C, std::size_t ldc, TC alpha)
 Accumulate an MR x NR tile of C from quad-interleaved packed panels: