I am performing Prefix scan operation on cluster

I have 3 MPI tasks and master task is responsible for distributing the data

Now, each task calculates sum of its own part of array using GPUs and
returns the results to master task.

Master task also calculates its own part of array using GPU.

When each task returns its result (which would be array) master task needs
to combine all the results to get the final result.

Can I use MPI_SCAN to combine the results?

Reply via email to