[This is preliminary documentation and is subject to change.]
The equivalent of a MPI_Reduce(IntPtr, IntPtr, Int32, Int32, Int32, Int32, Int32) followed by a MPI_Scatterv(IntPtr, array<Int32>[]()[], array<Int32>[]()[], Int32, IntPtr, Int32, Int32, Int32, Int32), performing a
reduction on the data provided in sendbuf and then scattering those results
to all of the processes. See ReduceScatter<(Of <(T>)>)(array<T>[]()[], ReductionOperation<(Of <(T>)>), array<Int32>[]()[]).
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)
Syntax
| C# |
|---|
public static int MPI_Reduce_scatter( IntPtr sendbuf, IntPtr recvbuf, int[] recvcounts, int datatype, int op, int comm ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MPI_Reduce_scatter ( _ sendbuf As IntPtr, _ recvbuf As IntPtr, _ recvcounts As Integer(), _ datatype As Integer, _ op As Integer, _ comm As Integer _ ) As Integer |
| Visual C++ |
|---|
public: static int MPI_Reduce_scatter( IntPtr sendbuf, IntPtr recvbuf, array<int>^ recvcounts, int datatype, int op, int comm ) |
Parameters
- sendbuf
- Type: System..::.IntPtr
Buffer containing the data to be reduced.
- recvbuf
- Type: System..::.IntPtr
Buffer that will receive this process's results.
- recvcounts
- Type: array<
System..::.Int32
>[]()[]
An array whose ith element gives the number of results that will go to the process with rank i.
- datatype
- Type: System..::.Int32
The type of data in sendbuf and recvbuf.
- op
- Type: System..::.Int32
The operation used to combine each element in sendbuf.
- comm
- Type: System..::.Int32
The communicator over which this collective will operate.