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

Memory utilities. More...

#include "superlu_zdefs.h"
Include dependency graph for zmemory_dist.c:

Functions

void * zuser_malloc_dist (int_t bytes, int_t which_end)
 
void zuser_free_dist (int_t bytes, int_t which_end)
 
int_t zQuerySpace_dist (int_t n, zLUstruct_t *LUstruct, gridinfo_t *grid, SuperLUStat_t *stat, superlu_dist_mem_usage_t *mem_usage)
 
void zallocateA_dist (int_t n, int_t nnz, doublecomplex **a, int_t **asub, int_t **xa)
 
doublecomplexdoublecomplexMalloc_dist (int_t n)
 
doublecomplexdoublecomplexCalloc_dist (int_t n)
 
double zgetLUMem (int_t nodeId, zLUstruct_t *LUstruct, gridinfo3d_t *grid3d)
 
double zmemForest (sForest_t *sforest, zLUstruct_t *LUstruct, gridinfo3d_t *grid3d)
 
void z3D_printMemUse (ztrf3Dpartition_t *trf3Dpartition, zLUstruct_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

◆ doublecomplexCalloc_dist()

doublecomplex * doublecomplexCalloc_dist ( int_t  n)
Here is the caller graph for this function:

◆ doublecomplexMalloc_dist()

doublecomplex * doublecomplexMalloc_dist ( int_t  n)
Here is the caller graph for this function:

◆ z3D_printMemUse()

void z3D_printMemUse ( ztrf3Dpartition_t trf3Dpartition,
zLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)
Here is the call graph for this function:

◆ zallocateA_dist()

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

◆ zgetLUMem()

double zgetLUMem ( int_t  nodeId,
zLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)

◆ zmemForest()

double zmemForest ( sForest_t sforest,
zLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)
Here is the call graph for this function:

◆ zQuerySpace_dist()

int_t zQuerySpace_dist ( int_t  n,
zLUstruct_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:

◆ zuser_free_dist()

void zuser_free_dist ( int_t  bytes,
int_t  which_end 
)

◆ zuser_malloc_dist()

void * zuser_malloc_dist ( int_t  bytes,
int_t  which_end 
)

Variable Documentation

◆ stack

SuperLU_LU_stack_t stack
extern