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

Memory utilities. More...

#include "superlu_zdefs.h"

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

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

doublecomplex* doublecomplexCalloc_dist ( int_t  n)
doublecomplex* doublecomplexMalloc_dist ( int_t  n)
void zallocateA_dist ( int_t  n,
int_t  nnz,
doublecomplex **  a,
int_t **  asub,
int_t **  xa 
)
int_t zQuerySpace_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 zuser_free_dist ( int_t  bytes,
int_t  which_end 
)
void* zuser_malloc_dist ( int_t  bytes,
int_t  which_end 
)

Variable Documentation

LU_stack_t stack