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_rows Struct Reference

A as gemm_packed reads it by default: row-major, m × k, its rows lda apart, packed by the tile. More...

#include <gemm.hpp>

Static Public Member Functions

template<typename Kernel , typename T >
static void pack (const T *a, std::size_t lda, 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 for Kernel.
 
template<typename T >
static const T * rows_of (const T *a, std::size_t lda, std::size_t, std::size_t, buffer< T > &, std::size_t &ld_out)
 A row-major for the plain loop: itself.
 
template<typename T >
static const T & at (const T *a, std::size_t lda, std::size_t i, std::size_t p) noexcept
 A's element in row i and column p.
 

Detailed Description

A as gemm_packed reads it by default: row-major, m × k, its rows lda apart, packed by the tile.

Definition at line 902 of file gemm.hpp.

Member Function Documentation

◆ at()

template<typename T >
static const T & numerical::detail::a_rows::at ( const T *  a,
std::size_t  lda,
std::size_t  i,
std::size_t  p 
)
inlinestaticnoexcept

A's element in row i and column p.

Definition at line 932 of file gemm.hpp.

◆ pack()

template<typename Kernel , typename T >
static void numerical::detail::a_rows::pack ( const T *  a,
std::size_t  lda,
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 for Kernel.

Definition at line 907 of file gemm.hpp.

◆ rows_of()

template<typename T >
static const T * numerical::detail::a_rows::rows_of ( const T *  a,
std::size_t  lda,
std::size_t  ,
std::size_t  ,
buffer< T > &  ,
std::size_t &  ld_out 
)
inlinestatic

A row-major for the plain loop: itself.

Definition at line 920 of file gemm.hpp.


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