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, TimeSpan timeout )
Public Overridable Sub AllToAll(Of T) ( _ sendData As T(), _ receiveData As T(), _ timeout As TimeSpan _ )
public: generic<typename T> virtual void AllToAll( array<T>^ sendData, array<T>^ receiveData, TimeSpan timeout )
- 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 the array corresponds to an element sent from a particular host
- timeout (TimeSpan)
- timeout