Lines Matching refs:nto

73 …Ibarrier(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt …  in PetscCommBuildTwoSided_Ibarrier()  argument
87 PetscCall(PetscMalloc1(nto, &sendreqs)); in PetscCommBuildTwoSided_Ibarrier()
88 …for (i = 0; i < nto; i++) PetscCallMPI(MPI_Issend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_Ibarrier()
112 PetscCall(PetscMPIIntCast(nto, &nsends)); in PetscCommBuildTwoSided_Ibarrier()
133 …llreduce(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt … in PetscCommBuildTwoSided_Allreduce() argument
155 for (i = 0; i < nto; i++) iflags[toranks[i]] = 1; in PetscCommBuildTwoSided_Allreduce()
162 PetscCall(PetscMalloc2(nto + nrecvs, &reqs, nto + nrecvs, &statuses)); in PetscCommBuildTwoSided_Allreduce()
165 …for (i = 0; i < nto; i++) PetscCallMPI(MPIU_Isend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_Allreduce()
166 PetscCallMPI(MPI_Waitall(nto + nrecvs, reqs, statuses)); in PetscCommBuildTwoSided_Allreduce()
179 …dScatter(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt … in PetscCommBuildTwoSided_RedScatter() argument
200 for (i = 0; i < nto; i++) iflags[toranks[i]] = 1; in PetscCommBuildTwoSided_RedScatter()
206 PetscCall(PetscMalloc2(nto + nrecvs, &reqs, nto + nrecvs, &statuses)); in PetscCommBuildTwoSided_RedScatter()
209 …for (i = 0; i < nto; i++) PetscCallMPI(MPIU_Isend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_RedScatter()
210 PetscCallMPI(MPI_Waitall(nto + nrecvs, reqs, statuses)); in PetscCommBuildTwoSided_RedScatter()
255 …TwoSided(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt … in PetscCommBuildTwoSided() argument
267 …PetscCall(PetscCommBuildTwoSided_Ibarrier(comm, count, dtype, nto, toranks, todata, nfrom, fromran… in PetscCommBuildTwoSided()
273 …PetscCall(PetscCommBuildTwoSided_Allreduce(comm, count, dtype, nto, toranks, todata, nfrom, fromra… in PetscCommBuildTwoSided()
277 …PetscCall(PetscCommBuildTwoSided_RedScatter(comm, count, dtype, nto, toranks, todata, nfrom, fromr… in PetscCommBuildTwoSided()
289 …eference(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt … in PetscCommBuildTwoSidedFReq_Reference() argument
301 …PetscCall(PetscCommBuildTwoSided(comm, count, dtype, nto, toranks, todata, nfrom, fromranks, fromd… in PetscCommBuildTwoSidedFReq_Reference()
303 PetscCall(PetscMalloc1(nto * ntags, &sendreq)); in PetscCommBuildTwoSidedFReq_Reference()
308 for (i = 0; i < nto; i++) { in PetscCommBuildTwoSidedFReq_Reference()
328 …Ibarrier(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt … in PetscCommBuildTwoSidedFReq_Ibarrier() argument
344 PetscCall(PetscMalloc1(nto, &sendreqs)); in PetscCommBuildTwoSidedFReq_Ibarrier()
345 PetscCall(PetscMalloc1(nto * ntags, &usendreqs)); in PetscCommBuildTwoSidedFReq_Ibarrier()
347 …for (i = 0; i < nto; i++) PetscCallMPI(MPI_Issend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSidedFReq_Ibarrier()
350 for (i = 0; i < nto; i++) { in PetscCommBuildTwoSidedFReq_Ibarrier()
383 PetscCall(PetscMPIIntCast(nto, &nsends)); in PetscCommBuildTwoSidedFReq_Ibarrier()
440 …woSidedF(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt … in PetscCommBuildTwoSidedF() argument
445 …PetscCall(PetscCommBuildTwoSidedFReq(comm, count, dtype, nto, toranks, todata, nfrom, fromranks, f… in PetscCommBuildTwoSidedF()
446 PetscCallMPI(MPI_Waitall(nto * ntags, toreqs, MPI_STATUSES_IGNORE)); in PetscCommBuildTwoSidedF()
487 …idedFReq(MPI_Comm comm, PetscMPIInt count, MPI_Datatype dtype, PetscMPIInt nto, const PetscMPIInt … in PetscCommBuildTwoSidedFReq() argument
496 …for (i = 0; i < nto; i++) PetscCheck(toranks[i] >= 0 && size > toranks[i], comm, PETSC_ERR_ARG_OUT… in PetscCommBuildTwoSidedFReq()
515 …PetscCall((*f)(comm, count, dtype, nto, toranks, todata, nfrom, fromranks, fromdata, ntags, toreqs… in PetscCommBuildTwoSidedFReq()