Searched refs:rmine_d (Results 1 – 3 of 3) sorted by relevance
444 if (!sf->rmine_d[scope]) { in PetscSFLinkGetLeafPackOptAndIndices()446 PetscCall(PetscSFMalloc(sf, PETSC_MEMTYPE_DEVICE, size, (void **)&sf->rmine_d[scope])); in PetscSFLinkGetLeafPackOptAndIndices()447 …PetscCall((*link->Memcpy)(link, PETSC_MEMTYPE_DEVICE, sf->rmine_d[scope], PETSC_MEMTYPE_HOST, sf->… in PetscSFLinkGetLeafPackOptAndIndices()449 *indices = sf->rmine_d[scope]; in PetscSFLinkGetLeafPackOptAndIndices()
79 PetscInt *rmine_d[2]; /* A copy of rmine[local/remote] in device memory if needed */ member
140 for (PetscInt i = 0; i < 2; i++) PetscCall(PetscSFFree(sf, PETSC_MEMTYPE_DEVICE, sf->rmine_d[i])); in PetscSFReset()