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 receiveData array
| C# | Visual Basic | Visual C++ |
public virtual void AllToAll<T>( T[] sendData, T[] receiveData )
Public Overridable Sub AllToAll(Of T) ( _ sendData As T(), _ receiveData As T() _ )
public: generic<typename T> virtual void AllToAll( array<T>^ sendData, array<T>^ receiveData )
- T
- type of data to send and receive
- sendData (array<T>[]()[])
- array of data to send. each element is sent to a particular host
- receiveData (array<T>[]()[])
- data received from hosts. each element is received from a particular host