78 std::function<
void()> startCommunicationFunctor,
79 std::function<
void()> waitFunctor,
86 std::function<
void()> startCommunicationFunctor,
87 std::function<
void()> waitFunctor,
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
The string message looks like the other messages which I generate through DaStGen 2,...
int getSenderRank() const
static void receiveAndPollDanglingMessages(tarch::mpi::StringMessage &message, int source, int tag)
static void send(const tarch::mpi::StringMessage &buffer, int destination, int tag, std::function< void()> startCommunicationFunctor, std::function< void()> waitFunctor, MPI_Comm communicator)
Alternative to the other send() where I trigger a non-blocking send an then invoke the functor until ...
void setData(const std::string &value)
static void send(const tarch::mpi::StringMessage &buffer, int destination, int tag, MPI_Comm communicator)
In DaStGen (the first version), I had a non-static version of the send as well as the receive.
static void receive(tarch::mpi::StringMessage &buffer, int source, int tag, std::function< void()> startCommunicationFunctor, std::function< void()> waitFunctor, MPI_Comm communicator)
int _senderDestinationRank
std::string toString() const
static void receive(tarch::mpi::StringMessage &buffer, int source, int tag, MPI_Comm communicator)
static void sendAndPollDanglingMessages(const tarch::mpi::StringMessage &message, int destination, int tag)
static bool isMessageInQueue(int tag, MPI_Comm communicator)
In older DaStGen version, I tried to find out whether a particular message type is in the MPI queue.
std::string getData() const
StringMessage(const std::string &value)