Lines Matching refs:direction
214 …ErrorCode PetscSFLinkBuildDependenceBegin(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkBuildDependenceBegin() argument
218 …PetscInt buflen = (direction == PETSCSF_ROOT2LEAF) ? bas->rootbuflen[PETSCSF_REMOTE] : sf->l… in PetscSFLinkBuildDependenceBegin()
229 …scErrorCode PetscSFLinkBuildDependenceEnd(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkBuildDependenceEnd() argument
233 …PetscInt buflen = (direction == PETSCSF_ROOT2LEAF) ? sf->leafbuflen[PETSCSF_REMOTE] : bas->r… in PetscSFLinkBuildDependenceEnd()
304 …tSignalsOfCompletionOfGettingData_NVSHMEM(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkWaitSignalsOfCompletionOfGettingData_NVSHMEM() argument
311 if (direction == PETSCSF_ROOT2LEAF) { /* leaf ranks are getting data */ in PetscSFLinkWaitSignalsOfCompletionOfGettingData_NVSHMEM()
339 …ErrorCode PetscSFLinkGetDataBegin_NVSHMEM(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkGetDataBegin_NVSHMEM() argument
355 PetscCall(PetscSFLinkBuildDependenceBegin(sf, link, direction)); in PetscSFLinkGetDataBegin_NVSHMEM()
356 …if (direction == PETSCSF_ROOT2LEAF) { /* src is root, dst is leaf; we will move data from src to d… in PetscSFLinkGetDataBegin_NVSHMEM()
435 …scErrorCode PetscSFLinkGetDataEnd_NVSHMEM(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkGetDataEnd_NVSHMEM() argument
444 if (direction == PETSCSF_ROOT2LEAF) { /* leaf ranks are getting data */ in PetscSFLinkGetDataEnd_NVSHMEM()
462 PetscCall(PetscSFLinkBuildDependenceEnd(sf, link, direction)); in PetscSFLinkGetDataEnd_NVSHMEM()
514 …ErrorCode PetscSFLinkPutDataBegin_NVSHMEM(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkPutDataBegin_NVSHMEM() argument
527 PetscCall(PetscSFLinkBuildDependenceBegin(sf, link, direction)); in PetscSFLinkPutDataBegin_NVSHMEM()
528 …if (direction == PETSCSF_ROOT2LEAF) { /* put data in rootbuf to leafb… in PetscSFLinkPutDataBegin_NVSHMEM()
606 …scErrorCode PetscSFLinkPutDataEnd_NVSHMEM(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkPutDataEnd_NVSHMEM() argument
615 if (direction == PETSCSF_ROOT2LEAF) { /* put root data to leaf */ in PetscSFLinkPutDataEnd_NVSHMEM()
635 PetscCall(PetscSFLinkBuildDependenceEnd(sf, link, direction)); in PetscSFLinkPutDataEnd_NVSHMEM()
640 …LinkSendSignalsToAllowPuttingData_NVSHMEM(PetscSF sf, PetscSFLink link, PetscSFDirection direction) in PetscSFLinkSendSignalsToAllowPuttingData_NVSHMEM() argument
648 if (direction == PETSCSF_ROOT2LEAF) { /* I allow my root ranks to put data to me */ in PetscSFLinkSendSignalsToAllowPuttingData_NVSHMEM()