Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/impls/basic/
H A Dsfpack.h444 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()
/petsc/include/petsc/private/
H A Dsfimpl.h79 PetscInt *rmine_d[2]; /* A copy of rmine[local/remote] in device memory if needed */ member
/petsc/src/vec/is/sf/interface/
H A Dsf.c140 for (PetscInt i = 0; i < 2; i++) PetscCall(PetscSFFree(sf, PETSC_MEMTYPE_DEVICE, sf->rmine_d[i])); in PetscSFReset()