SuperLU_DIST  4.0
superlu_dist on CPU and GPU clusters
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
dmemory.c File Reference

Memory utilities. More...

#include "superlu_ddefs.h"

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

Memory utilities.

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

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,
SuperLUStat_t stat,
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

LU_stack_t stack