Lines Matching refs:sendreqs

78   MPI_Request   *sendreqs, barrier;  in PetscCommBuildTwoSided_Ibarrier()  local
87 PetscCall(PetscMalloc1(nto, &sendreqs)); in PetscCommBuildTwoSided_Ibarrier()
88 …ssend((void *)(tdata + count * unitbytes * i), count, dtype, toranks[i], tag, comm, sendreqs + i)); in PetscCommBuildTwoSided_Ibarrier()
113 PetscCallMPI(MPI_Testall(nsends, sendreqs, &sent, MPI_STATUSES_IGNORE)); in PetscCommBuildTwoSided_Ibarrier()
117 PetscCall(PetscFree(sendreqs)); in PetscCommBuildTwoSided_Ibarrier()
138 MPI_Request *reqs, *sendreqs; in PetscCommBuildTwoSided_Allreduce() local
163 sendreqs = PetscSafePointerPlusOffset(reqs, nrecvs); in PetscCommBuildTwoSided_Allreduce()
165 …Isend((void *)(tdata + count * unitbytes * i), count, dtype, toranks[i], tag, comm, sendreqs + i)); in PetscCommBuildTwoSided_Allreduce()
184 MPI_Request *reqs, *sendreqs; in PetscCommBuildTwoSided_RedScatter() local
207 sendreqs = reqs + nrecvs; in PetscCommBuildTwoSided_RedScatter()
209 …Isend((void *)(tdata + count * unitbytes * i), count, dtype, toranks[i], tag, comm, sendreqs + i)); in PetscCommBuildTwoSided_RedScatter()
333 MPI_Request *sendreqs, *usendreqs, *req, barrier; in PetscCommBuildTwoSidedFReq_Ibarrier() local
344 PetscCall(PetscMalloc1(nto, &sendreqs)); in PetscCommBuildTwoSidedFReq_Ibarrier()
347 …ssend((void *)(tdata + count * unitbytes * i), count, dtype, toranks[i], tag, comm, sendreqs + i)); in PetscCommBuildTwoSidedFReq_Ibarrier()
384 PetscCallMPI(MPI_Testall(nsends, sendreqs, &sent, MPI_STATUSES_IGNORE)); in PetscCommBuildTwoSidedFReq_Ibarrier()
401 PetscCall(PetscFree(sendreqs)); in PetscCommBuildTwoSidedFReq_Ibarrier()