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
Go to the documentation of this file.
1 
17 #include "common.h"
18 #include "workspace.h"
19 
20 /***************************************************************************/
42 
43 /***************************************************************************/
65 
66 /***************************************************************************/
89 int PLASMA_Alloc_Workspace_cgebrd(int M, int N, PLASMA_desc **descT) {
91 
92 /***************************************************************************/
117  return plasma_alloc_ibnb(M, N, PLASMA_FUNC_CGELS, PlasmaComplexFloat, (void**)T); }
118 
119  /***************************************************************************/
144 int PLASMA_Alloc_Workspace_cgels_Tile(int M, int N, PLASMA_desc **descT) {
146 
147 /***************************************************************************/
172  return plasma_alloc_ibnb(M, N, PLASMA_FUNC_CGELS, PlasmaComplexFloat, (void**)T); }
173 
174 /***************************************************************************/
200 
201 /***************************************************************************/
226  return plasma_alloc_ibnb(M, N, PLASMA_FUNC_CGELS, PlasmaComplexFloat, (void**)T); }
227 
228 /***************************************************************************/
254 
255 /***************************************************************************/
281  int status = plasma_alloc_ibnb(N, N, PLASMA_FUNC_CGESV, PlasmaComplexFloat, (void**)L);
282  if (status != PLASMA_SUCCESS)
283  return status;
284  return plasma_alloc_ipiv(N, N, PLASMA_FUNC_CGESV, (void**)IPIV); }
285 
286 /***************************************************************************/
312 {
313  int status = plasma_alloc_ibnb_tile(N, N, PLASMA_FUNC_CGESV, PlasmaComplexFloat, descL);
314  if (status != PLASMA_SUCCESS)
315  return status;
316  return plasma_alloc_ipiv(N, N, PLASMA_FUNC_CGESV, (void **)IPIV);
317 }
318 /***************************************************************************/
341 int PLASMA_Alloc_Workspace_cgesvd(int M, int N, PLASMA_desc **descT) {
343 
344 /***************************************************************************/
380  int status = plasma_alloc_ibnb(M, N, PLASMA_FUNC_CGESV, PlasmaComplexFloat, (void**)L);
381  if (status != PLASMA_SUCCESS)
382  return status;
383  return plasma_alloc_ipiv(M, N, PLASMA_FUNC_CGESV, (void**)IPIV); }
384 
385 /***************************************************************************/
412 {
413  int status = plasma_alloc_ibnb_tile(N, N, PLASMA_FUNC_CGESV, PlasmaComplexFloat, descL);
414  if (status != PLASMA_SUCCESS)
415  return status;
416  return plasma_alloc_ipiv(N, N, PLASMA_FUNC_CGESV, (void **)IPIV);
417 }
418 /***************************************************************************/
441 int PLASMA_Alloc_Workspace_cheev(int M, int N, PLASMA_desc **descT) {
443 
444 /***************************************************************************/
467 int PLASMA_Alloc_Workspace_chegv(int M, int N, PLASMA_desc **descT) {
469 
470  /***************************************************************************/
493 int PLASMA_Alloc_Workspace_chetrd(int M, int N, PLASMA_desc **descT) {