Home
last modified time | relevance | path

Searched refs:PetscTrFree (Results 1 – 6 of 6) sorted by relevance

/petsc/src/sys/memory/cuda/
H A Dmcudahost.cu45 PetscFreeOld = PetscTrFree; in PetscMallocSetCUDAHost()
48 PetscTrFree = PetscCUDAHostFree; in PetscMallocSetCUDAHost()
66 PetscTrFree = PetscFreeOld; in PetscMallocResetCUDAHost()
/petsc/src/sys/memory/hip/
H A Dmhiphost.hip.cxx45 PetscFreeOld = PetscTrFree; in PetscMallocSetHIPHost()
48 PetscTrFree = PetscHIPHostFree; in PetscMallocSetHIPHost()
66 PetscTrFree = PetscFreeOld; in PetscMallocResetHIPHost()
/petsc/src/sys/memory/
H A Dmal.c189 PetscErrorCode (*PetscTrFree)(void *, int, const char[], const char[]) = Pets… variable
216 …PetscCheck(!petscsetmallocvisited || !(imalloc != PetscTrMalloc || ifree != PetscTrFree), PETSC_CO… in PetscMallocSet()
218 PetscTrFree = ifree; in PetscMallocSet()
244 PetscTrFree = PetscFreeAlign; in PetscMallocClear()
297 PetscTrFreeOld = PetscTrFree; in PetscMallocSetDRAM()
299 PetscTrFree = PetscFreeAlign; in PetscMallocSetDRAM()
325 PetscTrFree = PetscTrFreeOld; in PetscMallocResetDRAM()
461 PetscCall((*PetscTrFree)(*ptr[n], lineno, function, filename)); in PetscFreeA()
465 PetscCall((*PetscTrFree)(*ptr[n], lineno, function, filename)); in PetscFreeA()
/petsc/include/petsc/private/
H A Dcupmobject.hpp62 const DECLTYPE_AUTO(oldfree_, PetscTrFree);
84 PetscTrFree = [](void *ptr, int, const char *, const char *) { in UseCUPMHostAllocGuard()
103 PetscTrFree = oldfree_; in ~UseCUPMHostAllocGuard()
/petsc/doc/developers/
H A Dkernel.md200 `(*PetscTrMalloc)` and `(*PetscTrFree)`. `PetscMallocSet()` is
/petsc/include/
H A Dpetscsys.h1038 #define PetscFree(a) ((PetscErrorCode)((*PetscTrFree)((void *)(a), __LINE__, PETSC_FUNCTION_NAME, _…
1203 PETSC_EXTERN PetscErrorCode (*PetscTrFree)(void *, int, const char[], const char[]); variable