Home
last modified time | relevance | path

Searched refs:leafa (Results 1 – 1 of 1) sorted by relevance

/petsc/src/vec/is/sf/tests/
H A Dex24.c8 PetscInt *leafa, *leafb, *roota, *rootb; in testOverlappingCommunication() local
14 PetscCall(PetscMalloc4(nroots, &roota, nroots, &rootb, maxleaf + 1, &leafa, maxleaf + 1, &leafb)); in testOverlappingCommunication()
19 for (PetscInt i = 0; i < maxleaf + 1; i++) leafa[i] = (i + 1); in testOverlappingCommunication()
22 PetscCall(PetscSFReduceBegin(sf, MPIU_INT, leafa, roota, MPI_REPLACE)); in testOverlappingCommunication()
24 PetscCall(PetscSFReduceEnd(sf, MPIU_INT, leafa, roota, MPI_REPLACE)); in testOverlappingCommunication()
32 PetscCall(PetscSFReduceBegin(sf, MPIU_INT, leafa, roota, MPI_REPLACE)); in testOverlappingCommunication()
35 PetscCall(PetscSFReduceEnd(sf, MPIU_INT, leafa, roota, MPI_REPLACE)); in testOverlappingCommunication()
43 for (PetscInt i = 0; i < maxleaf + 1; i++) leafa[i] = 0; in testOverlappingCommunication()
46 PetscCall(PetscSFBcastBegin(sf, MPIU_INT, roota, leafa, MPI_REPLACE)); in testOverlappingCommunication()
48 PetscCall(PetscSFBcastEnd(sf, MPIU_INT, roota, leafa, MPI_REPLACE)); in testOverlappingCommunication()
[all …]