52 "AllocateRefinementWorkSpace: cnbrpool");
57 "AllocateRefinementWorkSpace: vnbrpool");
85 printf(
" nbrpool statistics\n" 86 " nbrpoolsize: %12zu nbrpoolcpos: %12zu\n" 87 " nbrpoolreallocs: %12zu\n\n",
void vnbrpoolReset(ctrl_t *ctrl)
void FreeWorkSpace(ctrl_t *ctrl)
idx_t cnbrpoolGetNext(ctrl_t *ctrl, idx_t nnbrs)
void gk_errexit(int signum, char *f_str,...)
idx_t vnbrpoolGetNext(ctrl_t *ctrl, idx_t nnbrs)
NonlinearFactorGraph graph
void * gk_mcoreMalloc(gk_mcore_t *mcore, size_t nbytes)
gk_mcore_t * gk_mcoreCreate(size_t coresize)
void * gk_realloc(void *oldptr, size_t nbytes, char *msg)
void cnbrpoolReset(ctrl_t *ctrl)
void * wspacemalloc(ctrl_t *ctrl, size_t nbytes)
ikv_t * ikvwspacemalloc(ctrl_t *ctrl, idx_t n)
void gk_mcoreDestroy(gk_mcore_t **r_mcore, int showstats)
void AllocateRefinementWorkSpace(ctrl_t *ctrl, idx_t nbrpoolsize)
void wspacepop(ctrl_t *ctrl)
idx_t * iwspacemalloc(ctrl_t *ctrl, idx_t n)
void * gk_malloc(size_t nbytes, char *msg)
void gk_free(void **ptr1,...)
void wspacepush(ctrl_t *ctrl)
#define IFSET(a, flag, cmd)
void gk_mcorePop(gk_mcore_t *mcore)
void AllocateWorkSpace(ctrl_t *ctrl, graph_t *graph)
void gk_mcorePush(gk_mcore_t *mcore)
real_t * rwspacemalloc(ctrl_t *ctrl, idx_t n)