Lines Matching refs:unit

19   MPI_Datatype    unit;  member
70 static PetscErrorCode PetscSFWindowGetDataTypes(PetscSF sf, MPI_Datatype unit, const MPI_Datatype *… in PetscSFWindowGetDataTypes() argument
82 PetscCall(MPIPetsc_Type_compare(unit, link->unit, &match)); in PetscSFWindowGetDataTypes()
93 PetscCallMPI(MPI_Type_dup(unit, &link->unit)); in PetscSFWindowGetDataTypes()
111 PetscCallMPI(MPI_Type_create_indexed_block(rcount, 1, rmine, link->unit, &link->mine[i])); in PetscSFWindowGetDataTypes()
112 PetscCallMPI(MPI_Type_create_indexed_block(rcount, 1, rremote, link->unit, &link->remote[i])); in PetscSFWindowGetDataTypes()
427 static PetscErrorCode PetscSFGetWindow(PetscSF sf, MPI_Datatype unit, void *rootdata, void *leafdat… in PetscSFGetWindow() argument
438 PetscCall(PetscSFGetDatatypeSize_Internal(PetscObjectComm((PetscObject)sf), unit, &bytes)); in PetscSFGetWindow()
605 static PetscErrorCode PetscSFFindWindow(PetscSF sf, MPI_Datatype unit, const void *rootdata, const … in PetscSFFindWindow() argument
613 PetscCall(PetscSFGetDatatypeSize_Internal(PetscObjectComm((PetscObject)sf), unit, &bytes)); in PetscSFFindWindow()
650 static PetscErrorCode PetscSFRestoreWindow(PetscSF sf, MPI_Datatype unit, void *array, PetscSFWindo… in PetscSFRestoreWindow() argument
832 PetscCallMPI(MPI_Type_free(&link->unit)); in PetscSFReset_Window()
861 static PetscErrorCode PetscSFRegisterPersistent_Window(PetscSF sf, MPI_Datatype unit, const void *r… in PetscSFRegisterPersistent_Window() argument
871 PetscCall(PetscSFGetDatatypeSize_Internal(PetscObjectComm((PetscObject)sf), unit, &bytes)); in PetscSFRegisterPersistent_Window()
901 static PetscErrorCode PetscSFDeregisterPersistent_Window(PetscSF sf, MPI_Datatype unit, const void … in PetscSFDeregisterPersistent_Window() argument
912 PetscCall(PetscSFGetDatatypeSize_Internal(PetscObjectComm((PetscObject)sf), unit, &bytes)); in PetscSFDeregisterPersistent_Window()
1001 static PetscErrorCode PetscSFBcastBegin_Window(PetscSF sf, MPI_Datatype unit, PetscMemType rootmtyp… in PetscSFBcastBegin_Window() argument
1014 PetscCall(PetscSFWindowGetDataTypes(sf, unit, &mine, &remote)); in PetscSFBcastBegin_Window()
1015 …PetscCall(PetscSFGetWindow(sf, unit, (void *)rootdata, leafdata, w->sync, PETSC_TRUE, MPI_MODE_NOP… in PetscSFBcastBegin_Window()
1035 static PetscErrorCode PetscSFBcastEnd_Window(PetscSF sf, MPI_Datatype unit, const void *rootdata, v… in PetscSFBcastEnd_Window() argument
1042 PetscCall(PetscSFFindWindow(sf, unit, rootdata, leafdata, &win, &reqs)); in PetscSFBcastEnd_Window()
1052 …PetscCall(PetscSFRestoreWindow(sf, unit, (void *)rootdata, w->sync, PETSC_TRUE, MPI_MODE_NOSTORE |… in PetscSFBcastEnd_Window()
1056 static PetscErrorCode PetscSFReduceBegin_Window(PetscSF sf, MPI_Datatype unit, PetscMemType leafmty… in PetscSFReduceBegin_Window() argument
1067 PetscCall(PetscSFWindowGetDataTypes(sf, unit, &mine, &remote)); in PetscSFReduceBegin_Window()
1069 …PetscCall(PetscSFGetWindow(sf, unit, rootdata, (void *)leafdata, w->sync, PETSC_TRUE, MPI_MODE_NOP… in PetscSFReduceBegin_Window()
1081 static PetscErrorCode PetscSFReduceEnd_Window(PetscSF sf, MPI_Datatype unit, const void *leafdata, … in PetscSFReduceEnd_Window() argument
1088 PetscCall(PetscSFFindWindow(sf, unit, rootdata, leafdata, &win, &reqs)); in PetscSFReduceEnd_Window()
1090 …PetscCall(PetscSFRestoreWindow(sf, unit, rootdata, w->sync, PETSC_TRUE, MPI_MODE_NOSUCCEED, PETSC_… in PetscSFReduceEnd_Window()
1094 static PetscErrorCode PetscSFFetchAndOpBegin_Window(PetscSF sf, MPI_Datatype unit, PetscMemType roo… in PetscSFFetchAndOpBegin_Window() argument
1108 PetscCall(PetscSFWindowGetDataTypes(sf, unit, &mine, &remote)); in PetscSFFetchAndOpBegin_Window()
1115 …PetscCall(PetscSFGetWindow(sf, unit, rootdata, (void *)leafdata, PETSCSF_WINDOW_SYNC_LOCK, PETSC_F… in PetscSFFetchAndOpBegin_Window()
1117 …PetscCall(PetscSFGetWindow(sf, unit, rootdata, (void *)leafdata, w->sync, PETSC_TRUE, MPI_MODE_NOP… in PetscSFFetchAndOpBegin_Window()
1140 static PetscErrorCode PetscSFFetchAndOpEnd_Window(PetscSF sf, MPI_Datatype unit, void *rootdata, co… in PetscSFFetchAndOpEnd_Window() argument
1149 PetscCall(PetscSFFindWindow(sf, unit, rootdata, leafdata, &win, &reqs)); in PetscSFFetchAndOpEnd_Window()
1152 …PetscCall(PetscSFRestoreWindow(sf, unit, rootdata, w->sync, PETSC_TRUE, MPI_MODE_NOSUCCEED, PETSC_… in PetscSFFetchAndOpEnd_Window()
1154 …PetscCall(PetscSFRestoreWindow(sf, unit, rootdata, PETSCSF_WINDOW_SYNC_LOCK, PETSC_FALSE, 0, PETSC… in PetscSFFetchAndOpEnd_Window()