Each host sends the ith element in sendData to the ith host in the comm.
Each host receives data from the hosts at the jth index in the returned array
| C# | Visual Basic | Visual C++ |
public virtual T[] AllToAll<T>( T[] sendData )
Public Overridable Function AllToAll(Of T) ( _ sendData As T() _ ) As T()
public: generic<typename T> virtual array<T>^ AllToAll( array<T>^ sendData )
- T
- type of data to send and receive
- sendData (array<T>[]()[])
- array of data to send. each element is sent to a particular host
data received from hosts. each element is received from a particular host