Lines Matching refs:wsize
374 …c PetscErrorCode PetscSFWindowAttach(PetscSF sf, PetscSFWinLink link, void *rootdata, size_t wsize) in PetscSFWindowAttach() argument
386 if (addr != NULL) PetscCallMPI(MPI_Win_attach(link->win, addr, wsize)); in PetscSFWindowAttach()
433 MPI_Aint wsize; in PetscSFGetWindow() local
439 wsize = (MPI_Aint)(bytes * sf->nroots); in PetscSFGetWindow()
485 PetscCall(PetscSFWindowAttach(sf, link, rootdata, wsize)); in PetscSFGetWindow()
512 PetscCallMPI(MPI_Win_create(rootdata, wsize, (PetscMPIInt)bytes, w->info, wcomm, &link->win)); in PetscSFGetWindow()
518 PetscCall(PetscSFWindowAttach(sf, link, rootdata, wsize)); in PetscSFGetWindow()
521 …PetscCallMPI(MPI_Win_allocate(wsize, (PetscMPIInt)bytes, w->info, wcomm, &link->addr, &link->win)); in PetscSFGetWindow()
527 …PetscCallMPI(MPI_Win_allocate_shared(wsize, (PetscMPIInt)bytes, w->info, wcomm, &link->addr, &link… in PetscSFGetWindow()
864 MPI_Aint bytes, wsize; in PetscSFRegisterPersistent_Window() local
872 wsize = (MPI_Aint)(bytes * sf->nroots); in PetscSFRegisterPersistent_Window()
884 PetscCall(PetscSFWindowAttach(sf, link, (void *)rootdata, wsize)); in PetscSFRegisterPersistent_Window()