SRC/dmemory.c File Reference

Memory utilities. More...

#include "superlu_ddefs.h"

Functions/Subroutines

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, LUstruct_t *LUstruct, gridinfo_t *grid, 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)

Variables

LU_stack_t stack


Detailed Description

 -- Distributed SuperLU routine (version 1.0) --
 Lawrence Berkeley National Lab, Univ. of California Berkeley.
 September 1, 1999
 

Function Documentation

void dallocateA_dist ( int_t  n,
int_t  nnz,
double **  a,
int_t **  asub,
int_t **  xa 
)

double* doubleCalloc_dist ( int_t  n  ) 

double* doubleMalloc_dist ( int_t  n  ) 

int_t dQuerySpace_dist ( int_t  n,
LUstruct_t LUstruct,
gridinfo_t grid,
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 data structures.
  • total (float) The amount of space needed in bytes to perform factorization.
  • expansions (int) Number of memory expansions during the LU factorization.

void duser_free_dist ( int_t  bytes,
int_t  which_end 
)

void* duser_malloc_dist ( int_t  bytes,
int_t  which_end 
)


Variable Documentation


Generated on Wed Nov 24 18:17:32 2010 for SuperLUDistributed by  doxygen 1.5.5