Searched refs:finalpivots (Results 1 – 1 of 1) sorted by relevance
96 PetscInt *pivots, *finalpivots, i; in PetscParallelSampleSelect() local149 PetscCall(PetscMalloc1(size * max_keys_per, &finalpivots)); in PetscParallelSampleSelect()154 …PetscCallMPI(MPI_Allgather(pivots, max_keys_per, MPIU_INT, finalpivots, max_keys_per, MPIU_INT, ma… in PetscParallelSampleSelect()159 if (j < keys_per[i]) finalpivots[count++] = finalpivots[i * max_keys_per + j]; in PetscParallelSampleSelect()162 *outpivots = finalpivots; in PetscParallelSampleSelect()