Loading src/TNL/Communicators/NoDistrCommunicator.h +9 −4 Original line number Original line Diff line number Diff line Loading @@ -13,10 +13,6 @@ #include <TNL/Logger.h> #include <TNL/Logger.h> #include <TNL/Communicators/MpiDefs.h> #include <TNL/Communicators/MpiDefs.h> #ifdef HAVE_MPI #include <mpi.h> #endif namespace TNL { namespace TNL { namespace Communicators { namespace Communicators { namespace { namespace { Loading Loading @@ -123,6 +119,15 @@ class NoDistrCommunicator memcpy( ( void* ) reduced_data, ( void* ) data, count * sizeof( T ) ); memcpy( ( void* ) reduced_data, ( void* ) data, count * sizeof( T ) ); } } template< typename T > static void Alltoall( const T* sendData, int sendCount, T* receiveData, int receiveCount, CommunicationGroup group ) { } static void CreateNewGroup(bool meToo, int myRank, CommunicationGroup &oldGroup, CommunicationGroup &newGroup) static void CreateNewGroup(bool meToo, int myRank, CommunicationGroup &oldGroup, CommunicationGroup &newGroup) { { newGroup=oldGroup; newGroup=oldGroup; Loading Loading
src/TNL/Communicators/NoDistrCommunicator.h +9 −4 Original line number Original line Diff line number Diff line Loading @@ -13,10 +13,6 @@ #include <TNL/Logger.h> #include <TNL/Logger.h> #include <TNL/Communicators/MpiDefs.h> #include <TNL/Communicators/MpiDefs.h> #ifdef HAVE_MPI #include <mpi.h> #endif namespace TNL { namespace TNL { namespace Communicators { namespace Communicators { namespace { namespace { Loading Loading @@ -123,6 +119,15 @@ class NoDistrCommunicator memcpy( ( void* ) reduced_data, ( void* ) data, count * sizeof( T ) ); memcpy( ( void* ) reduced_data, ( void* ) data, count * sizeof( T ) ); } } template< typename T > static void Alltoall( const T* sendData, int sendCount, T* receiveData, int receiveCount, CommunicationGroup group ) { } static void CreateNewGroup(bool meToo, int myRank, CommunicationGroup &oldGroup, CommunicationGroup &newGroup) static void CreateNewGroup(bool meToo, int myRank, CommunicationGroup &oldGroup, CommunicationGroup &newGroup) { { newGroup=oldGroup; newGroup=oldGroup; Loading