NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
numerical::detail::a_transposed Struct Reference

A given as Aᵀ: row-major, k × m, its rows lda apart (C = Aᵀᵀ·B, no copy of the transpose). More...

#include <gemm.hpp>

Static Public Member Functions

template<typename Kernel , typename T >
static void pack (const T *at, std::size_t ldat, std::size_t i0, std::size_t p0, std::size_t rows, std::size_t kc, T *out)
 The rows from i0 of A, rows × kc from column p0, packed as Kernel lays them out (gemm_pack_at).
 
template<typename T >
static const T * rows_of (const T *at, std::size_t ldat, std::size_t rows, std::size_t cols, buffer< T > &scratch, std::size_t &ld_out)
 A row-major for the plain loop, copied from at into scratch.
 
template<typename T >
static const T & at (const T *at_, std::size_t ldat, std::size_t i, std::size_t p) noexcept
 A's element in row i and column p: Aᵀ's in row p and column i.
 

Detailed Description

A given as Aᵀ: row-major, k × m, its rows lda apart (C = Aᵀᵀ·B, no copy of the transpose).

Definition at line 942 of file gemm.hpp.

Member Function Documentation

◆ at()

template<typename T >
static const T & numerical::detail::a_transposed::at ( const T *  at_,
std::size_t  ldat,
std::size_t  i,
std::size_t  p 
)
inlinestaticnoexcept

A's element in row i and column p: Aᵀ's in row p and column i.

Definition at line 973 of file gemm.hpp.

◆ pack()

template<typename Kernel , typename T >
static void numerical::detail::a_transposed::pack ( const T *  at,
std::size_t  ldat,
std::size_t  i0,
std::size_t  p0,
std::size_t  rows,
std::size_t  kc,
T *  out 
)
inlinestatic

The rows from i0 of A, rows × kc from column p0, packed as Kernel lays them out (gemm_pack_at).

Definition at line 948 of file gemm.hpp.

◆ rows_of()

template<typename T >
static const T * numerical::detail::a_transposed::rows_of ( const T *  at,
std::size_t  ldat,
std::size_t  rows,
std::size_t  cols,
buffer< T > &  scratch,
std::size_t &  ld_out 
)
inlinestatic

A row-major for the plain loop, copied from at into scratch.

Definition at line 961 of file gemm.hpp.


The documentation for this struct was generated from the following file: