PaStiX Handbook 6.4.0
Loading...
Searching...
No Matches
core_clrmm.c File Reference
#include "common.h"
#include "kernels_trace.h"
#include "pastix_clrcores.h"

Go to the source code of this file.

Functions

static pastix_fixdbl_t core_clrmm_Cfr (core_clrmm_t *params)
 Compute the matrix matrix product when applied to a full rank matrix.
 
static pastix_fixdbl_t core_clrmm_Cnull (core_clrmm_t *params)
 Compute the matrix matrix product when applied to a null matrix.
 
static pastix_fixdbl_t core_clrmm_Clr (core_clrmm_t *params)
 Compute the matrix matrix product when applied to a low rank matrix.
 
pastix_fixdbl_t core_clrmm (core_clrmm_t *params)
 Compute the matrix matrix product when involved matrices are stored in a low-rank structure.
 

Detailed Description

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

Version
6.4.0
Author
Mathieu Faverge
Gregoire Pichon
Pierre Ramet
Date
2024-07-05
Generated arithmetic file
from /builds/2mk6rsew/0/solverstack/pastix/kernels/core_zlrmm.c, normal z -> c, Tue Feb 25 14:34:50 2025

Definition in file core_clrmm.c.

Function Documentation

◆ core_clrmm_Cfr()

static pastix_fixdbl_t core_clrmm_Cfr ( core_clrmm_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_clrmm_t
Returns
The number of flops required to perform the operation.

Definition at line 45 of file core_clrmm.c.

References core_clrmm_s::A, core_clrmm_s::B, core_clrmm_s::C, core_cfrfr2fr(), core_cfrlr2fr(), core_clrfr2fr(), core_clrlr2fr(), PastixNoTrans, pastix_lrblock_s::rk, pastix_lrblock_s::rkmax, core_clrmm_s::transA, and core_clrmm_s::transB.

Referenced by core_clrmm().

◆ core_clrmm_Cnull()

static pastix_fixdbl_t core_clrmm_Cnull ( core_clrmm_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_clrmm_t
Returns
The number of flops required to perform the operation.

Definition at line 109 of file core_clrmm.c.

References core_cfrfr2lr(), core_cfrlr2lr(), core_clradd(), core_clrfr2lr(), core_clrlr2lr(), core_get_rklimit, PASTE_CORE_CLRMM_PARAMS, PASTE_CORE_CLRMM_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_clrmm().

◆ core_clrmm_Clr()

static pastix_fixdbl_t core_clrmm_Clr ( core_clrmm_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_clrmm_t
Returns
The number of flops required to perform the operation.

Definition at line 195 of file core_clrmm.c.

References core_cfrfr2lr(), core_cfrlr2lr(), core_clradd(), core_clrfr2lr(), core_clrlr2lr(), PASTE_CORE_CLRMM_PARAMS, PASTE_CORE_CLRMM_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_clrmm().