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

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.

Type Parameters

T
Any serializable type.

See Also