Searched refs:leafreqs (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/vec/is/sf/impls/basic/ |
| H A D | sfbasic.c | 43 …[leafmtype_mpi] + disp, cnt, unit, sf->ranks[i], link->tag, comm, link->leafreqs[direction][leafmt… in PetscSFLinkInitMPIRequests_Persistent_Basic() 49 …[leafmtype_mpi] + disp, cnt, unit, sf->ranks[i], link->tag, comm, link->leafreqs[direction][leafmt… in PetscSFLinkInitMPIRequests_Persistent_Basic() 135 …ype_mpi] + disp, cnt, unit, sf->ranks[i], link->tag, stream_comm, link->leafreqs[direction][leafmt… in PetscSFLinkStartCommunication_MPIX_Stream() 141 …ype_mpi] + disp, cnt, unit, sf->ranks[i], link->tag, stream_comm, link->leafreqs[direction][leafmt… in PetscSFLinkStartCommunication_MPIX_Stream() 156 …PetscCallMPI(MPIX_Waitall_enqueue(sf->nleafreqs, link->leafreqs[direction][leafmtype_mpi][leafdire… in PetscSFLinkFinishCommunication_MPIX_Stream() 187 MPI_Request *rootreqs, *leafreqs; in PetscSFSetUp_Basic() local 233 PetscCall(PetscMalloc2(nRemoteLeafRanks, &rootreqs, nRemoteRootRanks, &leafreqs)); in PetscSFSetUp_Basic() 244 …>rremote + sf->roffset[i], npoints, MPIU_INT, sf->ranks[i], tag, comm, &leafreqs[i - sf->ndranks])… in PetscSFSetUp_Basic() 247 PetscCallMPI(MPI_Waitall(nRemoteRootRanks, leafreqs, MPI_STATUSES_IGNORE)); in PetscSFSetUp_Basic() 254 PetscCall(PetscFree2(rootreqs, leafreqs)); in PetscSFSetUp_Basic()
|
| H A D | sfmpi.c | 31 …PetscCallMPI(MPI_Wait(link->leafreqs[direction][leafmtype_mpi][leafdirect_mpi] + i, MPI_STATUS_IGN… in PetscSFLinkFinishCommunication_Default() 37 …if (sf->nleafreqs) PetscCallMPI(MPI_Waitall(sf->nleafreqs, link->leafreqs[direction][leafmtype_mpi… in PetscSFLinkFinishCommunication_Default() 133 reqs = link->leafreqs[direction][leafmtype][1]; in PetscSFLinkCreate_MPI() 158 link->leafreqs[i][j][k] = link->reqs + nrootreqs * 8 + nleafreqs * (4 * i + 2 * j + k); in PetscSFLinkCreate_MPI()
|
| H A D | sfpack.h | 192 …MPI_Request *leafreqs[2][2][2]; /* Leaf requests in layout of [PETSCSF_DIRECTION][PETSC_MEMT… member 266 …irection direction, void **rootbuf, void **leafbuf, MPI_Request **rootreqs, MPI_Request **leafreqs) in PetscSFLinkGetMPIBuffersAndRequests() argument 277 if (leafreqs) *leafreqs = link->leafreqs[direction][leafmtype_mpi][leafdirect_mpi]; in PetscSFLinkGetMPIBuffersAndRequests()
|
| /petsc/src/vec/is/sf/impls/basic/nvshmem/ |
| H A D | sfnvshmem.cu | 81 MPI_Request *rootreqs, *leafreqs; in PetscSFSetUp_Basic_NVSHMEM() local 93 PetscCall(PetscMalloc2(nRemoteLeafRanks, &rootreqs, nRemoteRootRanks, &leafreqs)); in PetscSFSetUp_Basic_NVSHMEM() 111 …f->rootsigdisp[i], 1, MPIU_INT, sf->ranks[i + sf->ndranks], tag, comm, &leafreqs[i])); /* Leaves r… in PetscSFSetUp_Basic_NVSHMEM() 113 PetscCallMPI(MPI_Waitall(nRemoteRootRanks, leafreqs, MPI_STATUSES_IGNORE)); in PetscSFSetUp_Basic_NVSHMEM() 115 …f->rootbufdisp[i], 1, MPIU_INT, sf->ranks[i + sf->ndranks], tag, comm, &leafreqs[i])); /* Leaves r… in PetscSFSetUp_Basic_NVSHMEM() 120 PetscCallMPI(MPI_Waitall(nRemoteRootRanks, leafreqs, MPI_STATUSES_IGNORE)); in PetscSFSetUp_Basic_NVSHMEM() 155 PetscCall(PetscFree2(rootreqs, leafreqs)); in PetscSFSetUp_Basic_NVSHMEM()
|