Searched refs:newResult (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/memory/ |
| H A D | mal.c | 157 void *newResult; in PetscReallocAlign() local 160 …osix_memalign(currentmktype ? MEMKIND_HBW_PREFERRED : MEMKIND_DEFAULT, &newResult, PETSC_MEMALIGN,… in PetscReallocAlign() 164 …PetscCheck(newResult, PETSC_COMM_SELF, PETSC_ERR_MEM, "Memory requested %.0f", (PetscLogDouble)mem… in PetscReallocAlign() 166 int ret = posix_memalign(&newResult, PETSC_MEMALIGN, mem); in PetscReallocAlign() 169 PetscCall(PetscMemcpy(newResult, *result, mem)); in PetscReallocAlign() 182 *result = newResult; in PetscReallocAlign()
|