Open adammoody opened 1 year ago
Just browsing through code, I noticed this pattern:
https://github.com/ECP-VeloC/VELOC/blob/c8576889ffda81a8200b916a04f63d5380d6282d/src/lib/client.cpp#L194-L199
I suspect you might be able to replace that code segment with an MPI_Scan or MPI_Exscan, which takes O(log P) time instead of O(P).
MPI_Scan
MPI_Exscan
Just browsing through code, I noticed this pattern:
https://github.com/ECP-VeloC/VELOC/blob/c8576889ffda81a8200b916a04f63d5380d6282d/src/lib/client.cpp#L194-L199
I suspect you might be able to replace that code segment with an
MPI_Scan
orMPI_Exscan
, which takes O(log P) time instead of O(P).