Home
last modified time | relevance | path

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

/petsc/src/sys/memory/
H A Dmal.c17 PetscMemkindType currentmktype = PETSC_MK_HBW_PREFERRED; variable
38 …int err = memkind_posix_memalign(currentmktype ? MEMKIND_HBW_PREFERRED : MEMKIND_DEFAULT, result, … in PetscMallocAlign()
117 *result = memkind_realloc(currentmktype ? MEMKIND_HBW_PREFERRED : MEMKIND_DEFAULT, *result, mem); in PetscReallocAlign()
160 …int err = memkind_posix_memalign(currentmktype ? MEMKIND_HBW_PREFERRED : MEMKIND_DEFAULT, &newResu… in PetscReallocAlign()
290 previousmktype = currentmktype; in PetscMallocSetDRAM()
291 currentmktype = PETSC_MK_DEFAULT; in PetscMallocSetDRAM()
319 currentmktype = previousmktype; in PetscMallocResetDRAM()