PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
workspace_c.c File Reference
#include "common.h"
#include "workspace.h"
Include dependency graph for workspace_c.c:

Go to the source code of this file.

Functions

int PLASMA_Alloc_Workspace_cgeev (int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_cgehrd (int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_cgebrd (int M, int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_cgels (int M, int N, PLASMA_Complex32_t **T)
int PLASMA_Alloc_Workspace_cgels_Tile (int M, int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_cgeqrf (int M, int N, PLASMA_Complex32_t **T)
int PLASMA_Alloc_Workspace_cgeqrf_Tile (int M, int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_cgelqf (int M, int N, PLASMA_Complex32_t **T)
int PLASMA_Alloc_Workspace_cgelqf_Tile (int M, int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_cgesv_incpiv (int N, PLASMA_Complex32_t **L, int **IPIV)
int PLASMA_Alloc_Workspace_cgesv_incpiv_Tile (int N, PLASMA_desc **descL, int **IPIV)
int PLASMA_Alloc_Workspace_cgesvd (int M, int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_cgetrf_incpiv (int M, int N, PLASMA_Complex32_t **L, int **IPIV)
int PLASMA_Alloc_Workspace_cgetrf_incpiv_Tile (int N, PLASMA_desc **descL, int **IPIV)
int PLASMA_Alloc_Workspace_cheev (int M, int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_chegv (int M, int N, PLASMA_desc **descT)
int PLASMA_Alloc_Workspace_chetrd (int M, int N, PLASMA_desc **descT)

Detailed Description

PLASMA auxiliary routines PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver

Version:
2.4.5
Author:
Jakub Kurzak
Hatem Ltaief
Azzam Haidar
Date:
2010-11-15 c Tue Nov 22 14:35:45 2011

Definition in file workspace_c.c.


Function Documentation

int PLASMA_Alloc_Workspace_cgebrd ( int  M,
int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_cgebrd - Allocates workspace for PLASMA_cgebrd or PLASMA_cgebrd_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile BRD.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 89 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CGEBRD, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgeev ( int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_cgeev - Allocates workspace for PLASMA_cgeev or PLASMA_cgeev_Tile routine.

Parameters:
[in]NThe order of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile Hessenberg.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 40 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CGEEV, and PlasmaComplexFloat.

Here is the call graph for this function:

int PLASMA_Alloc_Workspace_cgehrd ( int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_cgehrd - Allocates workspace for PLASMA_cgehrd or PLASMA_cgehrd_Tile routine.

Parameters:
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile Hessenberg.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 63 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CGEHRD, and PlasmaComplexFloat.

Here is the call graph for this function:

int PLASMA_Alloc_Workspace_cgelqf ( int  M,
int  N,
PLASMA_Complex32_t **  T 
)

PLASMA_Alloc_Workspace_cgelqf - Allocates workspace for PLASMA_cgelqf or PLASMA_cgelqf_Tile routines.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile LQ factorization.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 225 of file workspace_c.c.

References plasma_alloc_ibnb(), PLASMA_FUNC_CGELS, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgelqf_Tile ( int  M,
int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_cgelqf_Tile - Allocates tile workspace for PLASMA_cgels_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]descTOn exit, PLASMA_desc on workspace handle for storage of the extra T factors required by the tile QR or the tile LQ factorization.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 252 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CGELS, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgels ( int  M,
int  N,
PLASMA_Complex32_t **  T 
)

PLASMA_Alloc_Workspace_cgels - Allocates workspace for PLASMA_cgels or PLASMA_cgels_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile QR or the tile LQ factorization.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 116 of file workspace_c.c.

References plasma_alloc_ibnb(), PLASMA_FUNC_CGELS, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgels_Tile ( int  M,
int  N,
PLASMA_desc **  descT 
)

@ -192,33 +120,6 @

PLASMA_Alloc_Workspace_cgels_Tile - Allocates tile workspace for PLASMA_cgels_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]descTOn exit, PLASMA_desc on workspace handle for storage of the extra T factors required by the tile QR or the tile LQ factorization.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 144 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CGELS, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgeqrf ( int  M,
int  N,
PLASMA_Complex32_t **  T 
)

PLASMA_Alloc_Workspace_cgeqrf - Allocates workspace for PLASMA_cgeqrf or PLASMA_cgeqrf_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile QR factorization.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 171 of file workspace_c.c.

References plasma_alloc_ibnb(), PLASMA_FUNC_CGELS, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgeqrf_Tile ( int  M,
int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_cgeqrf_Tile - Allocates tile workspace for PLASMA_cgels_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]descTOn exit, PLASMA_desc on workspace handle for storage of the extra T factors required by the tile QR or the tile LQ factorization.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 198 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CGELS, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgesv_incpiv ( int  N,
PLASMA_Complex32_t **  L,
int **  IPIV 
)

PLASMA_Alloc_Workspace_cgesv - Allocates workspace for PLASMA_cgesv or PLASMA_cgesv_Tile routines.

Parameters:
[in]NThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[out]LOn exit, workspace handle for storage of the extra L factors required by the tile LU factorization.
[out]IPIVOn exit, workspace handle for storage of pivot indexes required by the tile LU factorization (not equivalent to LAPACK).
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 280 of file workspace_c.c.

References plasma_alloc_ibnb(), plasma_alloc_ipiv(), PLASMA_FUNC_CGESV, PLASMA_SUCCESS, and PlasmaComplexFloat.

{
if (status != PLASMA_SUCCESS)
return status;
return plasma_alloc_ipiv(N, N, PLASMA_FUNC_CGESV, (void**)IPIV); }

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgesv_incpiv_Tile ( int  N,
PLASMA_desc **  descL,
int **  IPIV 
)

PLASMA_Alloc_Workspace_cgesv_Tile - Allocates workspace for PLASMA_cgesv_Tile routines.

Parameters:
[in]NThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[out]descLOn exit, PLASMA descriptor on workspace handle for storage of the extra L factors required by the tile LU factorization.
[out]IPIVOn exit, workspace handle for storage of pivot indexes required by the tile LU factorization (not equivalent to LAPACK).
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 311 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), plasma_alloc_ipiv(), PLASMA_FUNC_CGESV, PLASMA_SUCCESS, and PlasmaComplexFloat.

{
if (status != PLASMA_SUCCESS)
return status;
return plasma_alloc_ipiv(N, N, PLASMA_FUNC_CGESV, (void **)IPIV);
}

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgesvd ( int  M,
int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_cgesvd - Allocates workspace for PLASMA_cgesvd or PLASMA_cgesvd_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile BRD.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 341 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CGESVD, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgetrf_incpiv ( int  M,
int  N,
PLASMA_Complex32_t **  L,
int **  IPIV 
)

PLASMA_Alloc_Workspace_cgetrf_incpiv - Allocates workspace for PLASMA_cgetrf_incpiv or PLASMA_cgetrf_incpiv_Tile or PLASMA_cgetrf_incpiv_Tile_Async routines.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]LOn exit, workspace handle for storage of the extra L factors required by the tile LU factorization.
[out]IPIVOn exit, workspace handle for storage of pivot indexes required by the tile LU factorization (not equivalent to LAPACK).
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit
See also:
PLASMA_cgetrf_incpiv
PLASMA_cgetrf_incpiv_Tile
PLASMA_cgetrf_incpiv_Tile_Async

Definition at line 379 of file workspace_c.c.

References plasma_alloc_ibnb(), plasma_alloc_ipiv(), PLASMA_FUNC_CGESV, PLASMA_SUCCESS, and PlasmaComplexFloat.

{
if (status != PLASMA_SUCCESS)
return status;
return plasma_alloc_ipiv(M, N, PLASMA_FUNC_CGESV, (void**)IPIV); }

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cgetrf_incpiv_Tile ( int  N,
PLASMA_desc **  descL,
int **  IPIV 
)

PLASMA_Alloc_Workspace_cgetrf_incpiv_Tile - Allocates workspace for PLASMA_cgesv_incpiv_Tile or PLASMA_cgesv_incpiv_Tile_Async routines.

Parameters:
[in]NThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[out]descLOn exit, PLASMA descriptor on workspace handle for storage of the extra L factors required by the tile LU factorization.
[out]IPIVOn exit, workspace handle for storage of pivot indexes required by the tile LU factorization (not equivalent to LAPACK).
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 411 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), plasma_alloc_ipiv(), PLASMA_FUNC_CGESV, PLASMA_SUCCESS, and PlasmaComplexFloat.

{
if (status != PLASMA_SUCCESS)
return status;
return plasma_alloc_ipiv(N, N, PLASMA_FUNC_CGESV, (void **)IPIV);
}

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_cheev ( int  M,
int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_cheev - Allocates workspace for PLASMA_cheev or PLASMA_cheev_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile TRD.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 441 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CHEEV, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_chegv ( int  M,
int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_chegv - Allocates workspace for PLASMA_chegv or PLASMA_chegv_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile TRD.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 467 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CHEGV, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function:

int PLASMA_Alloc_Workspace_chetrd ( int  M,
int  N,
PLASMA_desc **  descT 
)

PLASMA_Alloc_Workspace_chetrd - Allocates workspace for PLASMA_chetrd or PLASMA_chetrd_Tile routine.

Parameters:
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= 0.
[out]TOn exit, workspace handle for storage of the extra T factors required by the tile TRD.
Returns:
Return values:
PLASMA_SUCCESSsuccessful exit

Definition at line 493 of file workspace_c.c.

References plasma_alloc_ibnb_tile(), PLASMA_FUNC_CHETRD, and PlasmaComplexFloat.

Here is the call graph for this function:

Here is the caller graph for this function: