Home
last modified time | relevance | path

Searched refs:bcast_root (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/is/sf/impls/basic/allgatherv/
H A Dsfallgatherv.c66 dat->bcast_root = sf->nroots > 0 ? rank : -1; in PetscSFSetUp_Allgatherv()
67 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &dat->bcast_root, 1, MPI_INT, MPI_MAX, comm)); in PetscSFSetUp_Allgatherv()
120 …if (dat->bcast_pattern && rank == dat->bcast_root) PetscCall((*link->Memcpy)(link, link->leafmtype… in PetscSFBcastBegin_Allgatherv()
124 …if (dat->bcast_pattern) PetscCallMPI(MPIU_Ibcast(leafbuf, nleaves, unit, dat->bcast_root, comm, re… in PetscSFBcastBegin_Allgatherv()
176 PetscCallMPI(MPIU_Reduce(leafbuf, rootbuf, nleavesi, baseunit, op, dat->bcast_root, comm)); in PetscSFReduceBegin_Allgatherv()
178 … PetscCallMPI(MPIU_Ireduce(leafbuf, rootbuf, nleavesi, baseunit, op, dat->bcast_root, comm, req)); in PetscSFReduceBegin_Allgatherv()
455 dat->bcast_root = -1; in PetscSFCreate_Allgatherv()
H A Dsfallgatherv.h12 PetscMPIInt bcast_root; /* the root rank in MPI_Bcast */ member