Expression Templates Library (ETL)
Functions
gemm_rc_to_c.hpp File Reference

Kernels for row-major matrix - column-major matrix multiplication and assignment to a column-major matrix. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename V , typename T >
void etl::impl::vec::gemm_small_kernel_rc_to_c (const T *a, const T *b, T *c, size_t M, size_t N, size_t K, T alpha)
 Optimized version of GEMM for assignment of a small Row-Major Matrix - Column Major Matrix to a Column Major Matrix. More...
 
template<typename V , typename T >
void etl::impl::vec::gemm_large_kernel_rc_to_c (const T *a, const T *b, T *c, size_t M, size_t N, size_t K, T alpha)
 Optimized version of GEMM for assignment of a large Row-Major Matrix - Column Major Matrix to a Column Major Matrix. More...
 
template<typename T >
void etl::impl::vec::gemm_rc_to_c (const T *a, const T *b, T *c, size_t M, size_t N, size_t K, T alpha)
 Vectorized implementation of row-major matrix - column-major matrix multiplication and assignment into a column-major matrix. More...
 

Detailed Description

Kernels for row-major matrix - column-major matrix multiplication and assignment to a column-major matrix.

Function Documentation

◆ gemm_large_kernel_rc_to_c()

template<typename V , typename T >
void etl::impl::vec::gemm_large_kernel_rc_to_c ( const T *  a,
const T *  b,
T *  c,
size_t  M,
size_t  N,
size_t  K,
alpha 
)

Optimized version of GEMM for assignment of a large Row-Major Matrix - Column Major Matrix to a Column Major Matrix.

Parameters
aThe lhs matrix
bThe rhs matrix
cThe result matrix

◆ gemm_rc_to_c()

template<typename T >
void etl::impl::vec::gemm_rc_to_c ( const T *  a,
const T *  b,
T *  c,
size_t  M,
size_t  N,
size_t  K,
alpha 
)

Vectorized implementation of row-major matrix - column-major matrix multiplication and assignment into a column-major matrix.

Parameters
aThe lhs matrix
bThe rhs matrix
cThe result matrix
MThe number of rows of the matrix A and rows of the matrix C
NThe number of columns of the matrix B and columns of the matrix C
KThe number of columns of the matrix A and rows of the matrix B

◆ gemm_small_kernel_rc_to_c()

template<typename V , typename T >
void etl::impl::vec::gemm_small_kernel_rc_to_c ( const T *  a,
const T *  b,
T *  c,
size_t  M,
size_t  N,
size_t  K,
alpha 
)

Optimized version of GEMM for assignment of a small Row-Major Matrix - Column Major Matrix to a Column Major Matrix.

Parameters
aThe lhs matrix
bThe rhs matrix
cThe result matrix