SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
smemory_dist.c File Reference

Memory utilities. More...

#include "superlu_sdefs.h"
Include dependency graph for smemory_dist.c:

Functions

void * suser_malloc_dist (int_t bytes, int_t which_end)
 
void suser_free_dist (int_t bytes, int_t which_end)
 
int_t sQuerySpace_dist (int_t n, sLUstruct_t *LUstruct, gridinfo_t *grid, SuperLUStat_t *stat, superlu_dist_mem_usage_t *mem_usage)
 
void sallocateA_dist (int_t n, int_t nnz, float **a, int_t **asub, int_t **xa)
 
float * floatMalloc_dist (int_t n)
 
float * floatCalloc_dist (int_t n)
 
double sgetLUMem (int_t nodeId, sLUstruct_t *LUstruct, gridinfo3d_t *grid3d)
 
double smemForest (sForest_t *sforest, sLUstruct_t *LUstruct, gridinfo3d_t *grid3d)
 
void s3D_printMemUse (trf3Dpartition_t *trf3Dpartition, sLUstruct_t *LUstruct, gridinfo3d_t *grid3d)
 

Variables

SuperLU_LU_stack_t stack
 

Detailed Description

Memory utilities.

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

-- Distributed SuperLU routine (version 4.0) --
Lawrence Berkeley National Lab, Univ. of California Berkeley.
October 1, 2014

Function Documentation

◆ floatCalloc_dist()

float * floatCalloc_dist ( int_t  n)
Here is the caller graph for this function:

◆ floatMalloc_dist()

float * floatMalloc_dist ( int_t  n)
Here is the caller graph for this function:

◆ s3D_printMemUse()

void s3D_printMemUse ( trf3Dpartition_t trf3Dpartition,
sLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sallocateA_dist()

void sallocateA_dist ( int_t  n,
int_t  nnz,
float **  a,
int_t **  asub,
int_t **  xa 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sgetLUMem()

double sgetLUMem ( int_t  nodeId,
sLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)
Here is the caller graph for this function:

◆ smemForest()

double smemForest ( sForest_t sforest,
sLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sQuerySpace_dist()

int_t sQuerySpace_dist ( int_t  n,
sLUstruct_t LUstruct,
gridinfo_t grid,
SuperLUStat_t stat,
superlu_dist_mem_usage_t mem_usage 
)
mem_usage consists of the following fields:
  • for_lu (float) The amount of space used in bytes for the L\U data structures.
  • total (float) The amount of space needed in bytes to perform factorization.
  • expansions (int) Number of memory expansions during the LU factorization.
Here is the caller graph for this function:

◆ suser_free_dist()

void suser_free_dist ( int_t  bytes,
int_t  which_end 
)

◆ suser_malloc_dist()

void * suser_malloc_dist ( int_t  bytes,
int_t  which_end 
)

Variable Documentation

◆ stack

SuperLU_LU_stack_t stack
extern