Lines Matching refs:unitbytes

76   MPI_Aint       lb, unitbytes;  in PetscCommBuildTwoSided_Ibarrier()  local
84 PetscCallMPI(MPI_Type_get_extent(dtype, &lb, &unitbytes)); in PetscCommBuildTwoSided_Ibarrier()
88 …for (i = 0; i < nto; i++) PetscCallMPI(MPI_Issend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_Ibarrier()
90 PetscCall(PetscSegBufferCreate(unitbytes, 4 * count, &segdata)); in PetscCommBuildTwoSided_Ibarrier()
136 MPI_Aint lb, unitbytes; in PetscCommBuildTwoSided_Allreduce() local
158 PetscCallMPI(MPI_Type_get_extent(dtype, &lb, &unitbytes)); in PetscCommBuildTwoSided_Allreduce()
160 PetscCall(PetscMalloc(nrecvs * count * unitbytes, &fdata)); in PetscCommBuildTwoSided_Allreduce()
164 …for (i = 0; i < nrecvs; i++) PetscCallMPI(MPIU_Irecv((void *)(fdata + count * unitbytes * i), coun… in PetscCommBuildTwoSided_Allreduce()
165 …for (i = 0; i < nto; i++) PetscCallMPI(MPIU_Isend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_Allreduce()
182 MPI_Aint lb, unitbytes; in PetscCommBuildTwoSided_RedScatter() local
202 PetscCallMPI(MPI_Type_get_extent(dtype, &lb, &unitbytes)); in PetscCommBuildTwoSided_RedScatter()
204 PetscCall(PetscMalloc(nrecvs * count * unitbytes, &fdata)); in PetscCommBuildTwoSided_RedScatter()
208 …for (i = 0; i < nrecvs; i++) PetscCallMPI(MPIU_Irecv((void *)(fdata + count * unitbytes * i), coun… in PetscCommBuildTwoSided_RedScatter()
209 …for (i = 0; i < nto; i++) PetscCallMPI(MPIU_Isend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_RedScatter()
292 MPI_Aint lb, unitbytes; in PetscCommBuildTwoSidedFReq_Reference() local
306 PetscCallMPI(MPI_Type_get_extent(dtype, &lb, &unitbytes)); in PetscCommBuildTwoSidedFReq_Reference()
311 …PetscCall((*send)(comm, tag, i, toranks[i], ((char *)todata) + count * unitbytes * i, sendreq + i … in PetscCommBuildTwoSidedFReq_Reference()
314 void *header = (*(char **)fromdata) + count * unitbytes * i; in PetscCommBuildTwoSidedFReq_Reference()
331 MPI_Aint lb, unitbytes; in PetscCommBuildTwoSidedFReq_Ibarrier() local
341 PetscCallMPI(MPI_Type_get_extent(dtype, &lb, &unitbytes)); in PetscCommBuildTwoSidedFReq_Ibarrier()
347 …for (i = 0; i < nto; i++) PetscCallMPI(MPI_Issend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSidedFReq_Ibarrier()
353 …PetscCall((*send)(comm, tags, i, toranks[i], tdata + count * unitbytes * i, usendreqs + i * ntags,… in PetscCommBuildTwoSidedFReq_Ibarrier()
357 PetscCall(PetscSegBufferCreate(unitbytes, 4 * count, &segdata)); in PetscCommBuildTwoSidedFReq_Ibarrier()