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 T[] AlltoallFlattened<T>(
	T[] inValues,
	int[] sendCounts,
	int[] recvCounts
)
Visual Basic (Declaration)
Public Function AlltoallFlattened(Of T) ( _
	inValues As T(), _
	sendCounts As Integer(), _
	recvCounts As Integer() _
) As T()
Visual C++
public:
generic<typename T>
array<T>^ AlltoallFlattened(
	array<T>^ inValues, 
	array<int>^ sendCounts, 
	array<int>^ recvCounts
)

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 >[]()[]

Type Parameters

T
Any serializable type.

See Also