Skip to content
Snippets Groups Projects
Commit ee2c74d6 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Implemented Alltoall method for NoDistrCommunicator

parent 8f7ded23
No related branches found
No related tags found
Loading
......@@ -133,6 +133,8 @@ class NoDistrCommunicator
int receiveCount,
CommunicationGroup group )
{
TNL_ASSERT_EQ( sendCount, receiveCount, "sendCount must be equal to receiveCount for NoDistrCommunicator." );
memcpy( (void*) receiveData, (const void*) sendData, sendCount * sizeof( T ) );
}
static void CreateNewGroup(bool meToo, int myRank, CommunicationGroup &oldGroup, CommunicationGroup &newGroup)
......@@ -140,7 +142,9 @@ class NoDistrCommunicator
newGroup=oldGroup;
}
static void writeProlog( Logger& logger ){};
static void writeProlog( Logger& logger )
{
}
};
} // namespace Communicators
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment