Collective operation in which every process sends data to every other process. Alltoall
differs from Allgather<(Of <(T>)>)(T) in that a given process can send different
data to all of the other processes, rather than contributing the same piece of data to all
processes.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void AlltoallFlattened<T>( T[] inValues, int[] sendCounts, int[] recvCounts, ref T[] outValues ) |
| Visual Basic (Declaration) |
|---|
Public Sub AlltoallFlattened(Of T) ( _ inValues As T(), _ sendCounts As Integer(), _ recvCounts As Integer(), _ ByRef outValues As T() _ ) |
| Visual C++ |
|---|
public: generic<typename T> void AlltoallFlattened( array<T>^ inValues, array<int>^ sendCounts, array<int>^ recvCounts, array<T>^% outValues ) |
Parameters
- inValues
- Type: array<
T
>[]()[]
The array of values that will be sent to each process. sendCounts[i] worth of data will be sent to process i.
- sendCounts
- Type: array<
System..::.Int32
>[]()[]
The numbers of items to be sent to each process.
- recvCounts
- Type: array<
System..::.Int32
>[]()[]
- outValues
- Type:
array<
T
>[]()[]
%
The array of values received from all of the other processes.
Type Parameters
- T
- Any serializable type.