Searched refs:leafdirect (Results 1 – 4 of 4) sorted by relevance
71 PetscBool match, rootdirect[2], leafdirect[2]; in PetscSFLinkCreate_MPI() local82 …leafdirect[i] = (sf->leafcontig[i] && op == MPI_REPLACE) ? PETSC_TRUE : PETSC_FALSE; /* Unpack lea… in PetscSFLinkCreate_MPI()84 …leafdirect[i] = sf->leafcontig[i]; /* Pack leav… in PetscSFLinkCreate_MPI()88 …leafdirect[i] = PETSC_FALSE; /* We also f… in PetscSFLinkCreate_MPI()100 leafdirect[PETSCSF_REMOTE] = PETSC_FALSE; in PetscSFLinkCreate_MPI()111 leafdirect_mpi = leafdirect[PETSCSF_REMOTE] && (leafmtype_mpi == leafmtype) ? 1 : 0; in PetscSFLinkCreate_MPI()198 if (leafdirect[i]) { in PetscSFLinkCreate_MPI()229 link->leafdirect[i] = leafdirect[i]; in PetscSFLinkCreate_MPI()
946 if (!link->leafdirect[scope]) { /* If leafdata works directly as rootbuf, skip packing */ in PetscSFLinkPackLeafData_Private()1016 if (!link->leafdirect[scope]) { /* If leafdata works directly as rootbuf, skip unpacking */ in PetscSFLinkUnpackLeafData_Private()1050 …if (sf->leafbuflen[scope] && !link->leafdirect[scope]) PetscCall(PetscSFLinkUnpackLeafData_Private… in PetscSFLinkUnpackLeafData()
182 …PetscBool rootdirect[2], leafdirect[2]; /* Can root/leafdata be directly passed to SF (i.e., … member
692 PetscBool match, rootdirect[2], leafdirect[2]; in PetscSFLinkCreate_NVSHMEM() local702 …leafdirect[PETSCSF_REMOTE] = (PetscMemTypeNVSHMEM(leafmtype) && sf->leafcontig[PETSCSF_REMOTE] && … in PetscSFLinkCreate_NVSHMEM()705 …leafdirect[PETSCSF_REMOTE] = PETSC_FALSE; /* Our put-protocol always needs a nvshmem alloc'ed recv… in PetscSFLinkCreate_NVSHMEM()710 leafdirect[PETSCSF_REMOTE] = PETSC_FALSE; in PetscSFLinkCreate_NVSHMEM()713 …leafdirect[PETSCSF_REMOTE] = (PetscMemTypeNVSHMEM(leafmtype) && sf->leafcontig[PETSCSF_REMOTE]) ? … in PetscSFLinkCreate_NVSHMEM()717 …leafdirect[PETSCSF_REMOTE] = PETSC_FALSE; /* We also force allocating a separate leafbuf so that l… in PetscSFLinkCreate_NVSHMEM()738 link->leafdirect[PETSCSF_LOCAL] = PETSC_TRUE; in PetscSFLinkCreate_NVSHMEM()775 if (leafdirect[PETSCSF_REMOTE]) { in PetscSFLinkCreate_NVSHMEM()783 link->leafdirect[PETSCSF_REMOTE] = leafdirect[PETSCSF_REMOTE]; in PetscSFLinkCreate_NVSHMEM()