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

Memory utilities. More...

#include "superlu_ddefs.h"
Include dependency graph for dmemory_dist.c:

Functions

void * duser_malloc_dist (int_t bytes, int_t which_end)
 
void duser_free_dist (int_t bytes, int_t which_end)
 
int_t dQuerySpace_dist (int_t n, dLUstruct_t *LUstruct, gridinfo_t *grid, SuperLUStat_t *stat, superlu_dist_mem_usage_t *mem_usage)
 
void dallocateA_dist (int_t n, int_t nnz, double **a, int_t **asub, int_t **xa)
 
double * doubleMalloc_dist (int_t n)
 
double * doubleCalloc_dist (int_t n)
 
double dgetLUMem (int_t nodeId, dLUstruct_t *LUstruct, gridinfo3d_t *grid3d)
 
double dmemForest (sForest_t *sforest, dLUstruct_t *LUstruct, gridinfo3d_t *grid3d)
 
void d3D_printMemUse (dtrf3Dpartition_t *trf3Dpartition, dLUstruct_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

◆ d3D_printMemUse()

void d3D_printMemUse ( dtrf3Dpartition_t trf3Dpartition,
dLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)
Here is the call graph for this function:

◆ dallocateA_dist()

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

◆ dgetLUMem()

double dgetLUMem ( int_t  nodeId,
dLUstruct_t LUstruct,
gridinfo3d_t grid3d 
)

◆ dmemForest()

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

◆ doubleCalloc_dist()

double * doubleCalloc_dist ( int_t  n)

◆ doubleMalloc_dist()

double * doubleMalloc_dist ( int_t  n)

◆ dQuerySpace_dist()

int_t dQuerySpace_dist ( int_t  n,
dLUstruct_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.

◆ duser_free_dist()

void duser_free_dist ( int_t  bytes,
int_t  which_end 
)

◆ duser_malloc_dist()

void * duser_malloc_dist ( int_t  bytes,
int_t  which_end 
)

Variable Documentation

◆ stack

SuperLU_LU_stack_t stack
extern