14 SendLog(
const void* b,
int n, MPI_Datatype d,
int t,
int idx)
15 :
OpLog(idx), buf(MPIBuffer::copy(b, n, d)), tag(t) {}
20 OpLog::operator=(std::move(o));
21 buf = std::move(o.buf);
27 serialize::read(i, buf);
28 serialize::read(i, tag);
30 void serialize_impl(std::ostream& s)
const override {
31 serialize::write(s, buf);
32 serialize::write(s, tag);
35 int isend(
int dst, MPI_Comm c)
const {
37 return PMPI_Isend(buf, buf, buf, dst, tag, c, req());
40 std::string str()
const override {
41 return "Send " + std::to_string(m_idx) +
" (tag " + std::to_string(tag) +