Home
last modified time | relevance | path

Searched refs:PetscTrMalloc (Results 1 – 5 of 5) sorted by relevance

/dports/science/PETSc/petsc-3.14.1/src/sys/memory/
H A Dmal.c199 PetscErrorCode (*PetscTrMalloc)(size_t,PetscBool,int,const char[],const char[],void**) = PetscMallo… variable
226 …if (petscsetmallocvisited && (imalloc != PetscTrMalloc || ifree != PetscTrFree)) SETERRQ(PETSC_COM… in PetscMallocSet()
227 PetscTrMalloc = imalloc; in PetscMallocSet()
252 PetscTrMalloc = PetscMallocAlign; in PetscMallocClear()
298 if (PetscTrMalloc == PetscMallocAlign) { in PetscMallocSetDRAM()
305 PetscTrMallocOld = PetscTrMalloc; in PetscMallocSetDRAM()
308 PetscTrMalloc = PetscMallocAlign; in PetscMallocSetDRAM()
327 if (PetscTrMalloc == PetscMallocAlign) { in PetscMallocResetDRAM()
333 PetscTrMalloc = PetscTrMallocOld; in PetscMallocResetDRAM()
418 ierr = (*PetscTrMalloc)(sumbytes,clear,lineno,function,filename,(void**)&p);CHKERRQ(ierr); in PetscMallocA()
[all …]
H A Dmtr.c971 …if (PetscTrMalloc == PetscTrMallocDefault) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"Canno… in PetscMallocSetDebug()
1006 if (basic) *basic = (PetscTrMalloc == PetscTrMallocDefault) ? PETSC_TRUE : PETSC_FALSE; in PetscMallocGetDebug()
/dports/science/PETSc/petsc-3.14.1/src/sys/memory/cuda/
H A Dmcudahost.cu45 PetscMallocOld = PetscTrMalloc; in PetscMallocSetCUDAHost()
48 PetscTrMalloc = PetscCUDAHostMalloc; in PetscMallocSetCUDAHost()
66 PetscTrMalloc = PetscMallocOld; in PetscMallocResetCUDAHost()
/dports/science/PETSc/petsc-3.14.1/include/
H A Dpetscsys.h573 #define PetscMalloc(a,b) ((*PetscTrMalloc)((a),PETSC_FALSE,__LINE__,PETSC_FUNCTION_NAME,__FILE__,(…
1250 PETSC_EXTERN PetscErrorCode (*PetscTrMalloc)(size_t,PetscBool,int,const char[],const char[],void**); variable
/dports/science/PETSc/petsc-3.14.1/
H A DCTAGS27355 PetscTrMalloc include/petscsys.h /^PETSC_EXTERN PetscErrorCode (*PetscTrMalloc)(size_t,PetscBool,in…
27356 PetscTrMalloc src/sys/memory/mal.c /^PetscErrorCode (*PetscTrMalloc)(size_t,PetscBool,int,const cha…