LASs - Linear Algebra Routines on OmpSs
1.0.0
LASs
|
LASs-DDSs kdsyrk routine. More...
#include "../include/lass.h"
Go to the source code of this file.
Functions | |
enum LASS_RETURN | kdsyrk (enum DDSS_UPLO UPLO, enum DDSS_TRANS TRANS_A, int N, int K, const double ALPHA, double *A, int LDA, const double BETA, double *C, int LDC) |
LASs-DDSs kdsyrk routine.
LASs-DDSs is a software package provided by: Barcelona Supercomputing Center - Centro Nacional de Supercomputacion
Definition in file kdsyrk.c.
enum LASS_RETURN kdsyrk | ( | enum DDSS_UPLO | UPLO, |
enum DDSS_TRANS | TRANS_A, | ||
int | N, | ||
int | K, | ||
const double | ALPHA, | ||
double * | A, | ||
int | LDA, | ||
const double | BETA, | ||
double * | C, | ||
int | LDC | ||
) |
Performs one of the symmetric rank k operations:
C = ALPHA * A * op( A ) + BETA * C or C = ALPHA * op( A ) * A + BETA * C
where op( X ) is:
op( X ) = X**T
ALPHA and BETA are scalars, C is an N by N symmetric matrix and A is an N by K matrix in the first case and a K by N matrix in the second case.
[in] | UPLO | enum DDSS_UPLO. UPLO specifies the form in which C is stored:
|
[in] | TRANS_A | enum DDSS_TRANS. TRANS_A specifies the operation to be performed as follows:
|
[in] | N | int. N specifies the order of matrix C. N must be at least zero. |
[in] | K | int. With TRANS_A = NoTrans, K specifies the number of columns of the matrix A, and with TRANS_A = Trans, K specifies the number of rows of the matrix A. K must be at least zero. |
[in] | ALPHA | double. ALPHA specifies the scalar alpha. |
[in] | A | double *. A is a pointer to a matrix of dimension Na ( rows ) by Ka ( columns ), where Na is N and Ka is K when TRANS_A = NoTrans, and Na is K and Ka is N otherwise. |
[in] | LDA | int. LDA specifies the number of columns of A ( row-major order ). When TRANS_A = NoTrans then LDA must be at least max( 1, K ), otherwise LDA must be at least max( 1, N ). |
[in] | BETA | double. BETA specifies the scalar beta. |
[in,out] | C | double *. C is a pointer to a matrix of dimension N by N. When UPLO = Uppper the strictly lower triangular part of C is not referenced. On exit, the upper triangular part of C is overwritten by the upper triangular part of the updated solution matrix C. When UPLO = Lower the strictly upper triangular part of C is not referenced. On exit, the lower triangular part of C is overwritten by the lower triangular part of the updated solution matrix C. |
[in] | LDC | int. LDC specifies the number of columns of C ( row-major order ). LDC must be at least max( 1, N ). |
Success | successful exit |
NoSuccess | unsuccessful exit |
Definition at line 117 of file kdsyrk.c.
References ddss_dflat2tiled(), ddss_dsymflat2tiled(), ddss_dsymtiled2flat(), and ddss_tile_size().
Referenced by ddss_dsyrk().