PaStiX Handbook  6.2.1
core_slrmm.c File Reference
#include "common.h"
#include "kernels_trace.h"
#include "pastix_slrcores.h"

Go to the source code of this file.

Functions

static pastix_fixdbl_t core_slrmm_Cfr (core_slrmm_t *params)
 Compute the matrix matrix product when applied to a full rank matrix. More...
 
static pastix_fixdbl_t core_slrmm_Cnull (core_slrmm_t *params)
 Compute the matrix matrix product when applied to a null matrix. More...
 
static pastix_fixdbl_t core_slrmm_Clr (core_slrmm_t *params)
 Compute the matrix matrix product when applied to a low rank matrix. More...
 
pastix_fixdbl_t core_slrmm (core_slrmm_t *params)
 Compute the matrix matrix product when involved matrices are stored in a low-rank structure. More...
 

Detailed Description

PaStiX low-rank kernel routines to compute a matrix matrix product in either form low or full rank.

Version
6.0.3
Author
Mathieu Faverge
Gregoire Pichon
Pierre Ramet
Date
2019-11-12
Generated arithmetic file\n from /builds/solverstack/pastix/kernels/core_zlrmm.c, normal z -> s, Tue Apr 12 09:38:38 2022

Definition in file core_slrmm.c.

Function Documentation

◆ core_slrmm_Cfr()

static pastix_fixdbl_t core_slrmm_Cfr ( core_slrmm_t params)
inlinestatic

Compute the matrix matrix product when applied to a full rank matrix.

This function considers that the C matrix is full rank, and A and B are either full-rank or low-rank. The result of the product is directly applied to the C matrix.

Parameters
[in,out]paramsThe LRMM structure that stores all the parameters used in the LRMM functions family.
See also
core_slrmm_t
Returns
The number of flops required to perform the operation.

Definition at line 45 of file core_slrmm.c.

References core_slrmm_s::A, core_slrmm_s::B, core_slrmm_s::C, core_sfrfr2fr(), core_sfrlr2fr(), core_slrfr2fr(), core_slrlr2fr(), PastixNoTrans, pastix_lrblock_s::rk, pastix_lrblock_s::rkmax, core_slrmm_s::transA, and core_slrmm_s::transB.

Referenced by core_slrmm().

◆ core_slrmm_Cnull()

static pastix_fixdbl_t core_slrmm_Cnull ( core_slrmm_t params)
inlinestatic

Compute the matrix matrix product when applied to a null matrix.

This function considers that the C matrix is null, and A and B are either full-rank or low-rank. The result of the product is directly applied to the C matrix.

Parameters
[in,out]paramsThe LRMM structure that stores all the parameters used in the LRMM functions family.
See also
core_slrmm_t
Returns
The number of flops required to perform the operation.

Definition at line 109 of file core_slrmm.c.

References core_get_rklimit, core_sfrfr2lr(), core_sfrlr2lr(), core_slradd(), core_slrfr2lr(), core_slrlr2lr(), PASTE_CORE_SLRMM_PARAMS, PASTE_CORE_SLRMM_VOID, PASTIX_LRM3_ALLOCU, PASTIX_LRM3_ALLOCV, PASTIX_LRM3_TRANSB, PastixNoTrans, pastix_lrblock_s::rk, pastix_lrblock_s::rkmax, pastix_lrblock_s::u, and pastix_lrblock_s::v.

Referenced by core_slrmm().

◆ core_slrmm_Clr()

static pastix_fixdbl_t core_slrmm_Clr ( core_slrmm_t params)
inlinestatic

Compute the matrix matrix product when applied to a low rank matrix.

This function considers that the C matrix is low rank, and A and B are either full-rank or low-rank. The result of the product is directly applied to the C matrix.

Parameters
[in,out]paramsThe LRMM structure that stores all the parameters used in the LRMM functions family.
See also
core_slrmm_t
Returns
The number of flops required to perform the operation.

Definition at line 195 of file core_slrmm.c.

References core_sfrfr2lr(), core_sfrlr2lr(), core_slradd(), core_slrfr2lr(), core_slrlr2lr(), PASTE_CORE_SLRMM_PARAMS, PASTE_CORE_SLRMM_VOID, PASTIX_LRM3_ALLOCU, PASTIX_LRM3_ALLOCV, PASTIX_LRM3_TRANSB, PastixNoTrans, pastix_lrblock_s::rk, pastix_lrblock_s::rkmax, pastix_lrblock_s::u, and pastix_lrblock_s::v.

Referenced by core_slrmm().