Lines Matching refs:unit

102 static PetscErrorCode PetscSFBcastBegin_Allgatherv(PetscSF sf, MPI_Datatype unit, PetscMemType root…  in PetscSFBcastBegin_Allgatherv()  argument
112 …PetscCall(PetscSFLinkCreate(sf, unit, rootmtype, rootdata, leafmtype, leafdata, op, PETSCSF_BCAST,… in PetscSFBcastBegin_Allgatherv()
124 …if (dat->bcast_pattern) PetscCallMPI(MPIU_Ibcast(leafbuf, nleaves, unit, dat->bcast_root, comm, re… in PetscSFBcastBegin_Allgatherv()
125 …e PetscCallMPI(MPIU_Iallgatherv(rootbuf, sendcount, unit, leafbuf, dat->recvcounts, dat->displs, u… in PetscSFBcastBegin_Allgatherv()
129 static PetscErrorCode PetscSFReduceBegin_Allgatherv(PetscSF sf, MPI_Datatype unit, PetscMemType lea… in PetscSFReduceBegin_Allgatherv() argument
140 …PetscCall(PetscSFLinkCreate(sf, unit, rootmtype, rootdata, leafmtype, leafdata, op, PETSCSF_REDUCE… in PetscSFReduceBegin_Allgatherv()
156 MPI_Datatype baseunit = unit; in PetscSFReduceBegin_Allgatherv()
158 PetscCall(MPIPetsc_Type_compare_contig(unit, MPIU_REAL, &nreal)); in PetscSFReduceBegin_Allgatherv()
166 PetscCall(MPIPetsc_Type_compare_contig(unit, MPIU_COMPLEX, &ncomplex)); in PetscSFReduceBegin_Allgatherv()
189 …_REMOTE][link->leafmtype_mpi], dat->recvcounts, dat->displs, unit, rootbuf, recvcount, unit, 0, co… in PetscSFReduceBegin_Allgatherv()
195 PETSC_INTERN PetscErrorCode PetscSFReduceEnd_Allgatherv(PetscSF sf, MPI_Datatype unit, const void *… in PetscSFReduceEnd_Allgatherv() argument
207 PetscCall(PetscSFLinkGetInUse(sf, unit, rootdata, leafdata, PETSC_OWN_POINTER, &link)); in PetscSFReduceEnd_Allgatherv()
210 PetscCall(PetscSFReduceEnd_Basic(sf, unit, leafdata, rootdata, op)); in PetscSFReduceEnd_Allgatherv()
215 static PetscErrorCode PetscSFBcastToZero_Allgatherv(PetscSF sf, MPI_Datatype unit, PetscMemType roo… in PetscSFBcastToZero_Allgatherv() argument
226 …PetscCall(PetscSFLinkCreate(sf, unit, rootmtype, rootdata, leafmtype, leafdata, MPI_REPLACE, PETSC… in PetscSFBcastToZero_Allgatherv()
233 …PetscCallMPI(MPIU_Igatherv(rootbuf, sendcount, unit, leafbuf, dat->recvcounts, dat->displs, unit, … in PetscSFBcastToZero_Allgatherv()
235 PetscCall(PetscSFLinkGetInUse(sf, unit, rootdata, leafdata, PETSC_OWN_POINTER, &link)); in PetscSFBcastToZero_Allgatherv()
281 PETSC_INTERN PetscErrorCode PetscSFFetchAndOpBegin_Allgatherv(PetscSF sf, MPI_Datatype unit, PetscM… in PetscSFFetchAndOpBegin_Allgatherv() argument
291 …PetscCall(PetscSFLinkCreate(sf, unit, rootmtype, rootdata, leafmtype, leafdata, op, PETSCSF_FETCH,… in PetscSFFetchAndOpBegin_Allgatherv()
294 PetscCall(PetscSFLinkGetInUse(sf, unit, rootdata, leafdata, PETSC_OWN_POINTER, &link)); in PetscSFFetchAndOpBegin_Allgatherv()
304 …PetscCallMPI(MPI_Sendrecv_replace(leafupdate, count, unit, next, link->tag, prev, link->tag, comm,… in PetscSFFetchAndOpBegin_Allgatherv()
310 PetscCall(PetscSFBcastBegin(sf, unit, rootdata, leafupdate, op)); in PetscSFFetchAndOpBegin_Allgatherv()
311 PetscCall(PetscSFBcastEnd(sf, unit, rootdata, leafupdate, op)); in PetscSFFetchAndOpBegin_Allgatherv()
314 …PetscCall(PetscSFBcastToZero_Private(sf, unit, rootdata, leafupdate)); /* Using this line makes Al… in PetscSFFetchAndOpBegin_Allgatherv()
317 PetscCall(PetscSFReduceBegin(sf, unit, leafdata, rootdata, op)); in PetscSFFetchAndOpBegin_Allgatherv()
321 PETSC_INTERN PetscErrorCode PetscSFFetchAndOpEnd_Allgatherv(PetscSF sf, MPI_Datatype unit, void *ro… in PetscSFFetchAndOpEnd_Allgatherv() argument
324 PetscCall(PetscSFReduceEnd(sf, unit, leafdata, rootdata, op)); in PetscSFFetchAndOpEnd_Allgatherv()