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:  MPI
Assembly:  MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void AlltoallFlattened<T>(
	T[] inValues,
	int count,
	ref T[] outValues
)
Visual Basic (Declaration)
Public Sub AlltoallFlattened(Of T) ( _
	inValues As T(), _
	count As Integer, _
	ByRef outValues As T() _
)
Visual C++
public:
generic<typename T>
void AlltoallFlattened(
	array<T>^ inValues, 
	int count, 
	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.
count
Type: System..::.Int32
The number of items to be sent and received by each process.
outValues
Type: array< T >[]()[] %
The array of values received from all of the other processes.

Type Parameters

T
Any serializable type.

See Also